How to switch multiple themes in vue

that"s the question!
theme files are placed in the vue project, for example, directory:

src/themes/settings.vue
src/themes/theme1/files
src/themes/theme2/files
src/themes/theme3/files

the default topic name is obtained from the server"s API interface, for example, the data returned by API: {"defaultTheme": "theme1"} .

the name and number of CSS files for each topic are different. How can I switch themes?

Mar.17,2021

function switchTheme(themeName) {
    import(`./${themeName}/files`)
}
switchTheme('theme1')
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b42fa6-2c684.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b42fa6-2c684.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?