This commit is contained in:
2023-10-16 11:27:37 +08:00
parent 826f99350c
commit b5b55dc3b2
29 changed files with 951 additions and 319 deletions

View File

@@ -2,9 +2,10 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'
import svgLoader from 'vite-svg-loader'
export default defineConfig({
plugins: [vue()],
plugins: [vue(), svgLoader()],
resolve: {
alias: {
'@': path.resolve(__dirname, 'src'),
@@ -14,3 +15,4 @@ export default defineConfig({
'process.env': {},
},
})