初始化

This commit is contained in:
ZilongYang
2021-10-13 20:59:12 +08:00
commit 56a79617f0
73 changed files with 13328 additions and 0 deletions

23
vite.config.js Normal file
View File

@@ -0,0 +1,23 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'
import svgLoader from 'vite-svg-loader'
// https://vitejs.dev/config/
export default defineConfig({
resolve:{
alias: {
'@': path.resolve(__dirname, '/src'),
},
},
base: process.env.ELECTRON=="true" ? './' : "",
plugins: [vue(), svgLoader()],
// server:{
// fs:{
// strict: false,
// allow:[
// '.'
// ]
// }
// }
})