feat: 初始化

This commit is contained in:
dengtongyu committed 2023-11-28 14:09:17 +08:00
commit db6fbef9ba
42 files changed
+8693

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
import proxyConfig from './proxy.config'
// https://vitejs.dev/config/
export default defineConfig({
base: "./",
envDir: "./env",
plugins: [
vue(),
vueJsx(),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
},
server: {
proxy: proxyConfig
},
})