feat(projects): theme store完成

This commit is contained in:
Soybean
2022-01-08 20:49:21 +08:00
parent 10e4d81bd6
commit bf020a8258
56 changed files with 1205 additions and 164 deletions

View File

@ -1,6 +1,6 @@
import { fileURLToPath } from 'url';
import { defineConfig, loadEnv } from 'vite';
import { setupVitePlugins } from './build';
import { setupVitePlugins, define } from './build';
export default defineConfig(configEnv => {
const viteEnv = loadEnv(configEnv.mode, `.env.${configEnv.mode}`);
@ -13,6 +13,7 @@ export default defineConfig(configEnv => {
'~': fileURLToPath(new URL('./', import.meta.url))
}
},
define,
plugins: setupVitePlugins(configEnv),
css: {
preprocessorOptions: {