feat:初始化工程

This commit is contained in:
2026-07-26 20:40:32 +08:00
commit 875350cc56
34 changed files with 5521 additions and 0 deletions

30
vite.config.ts Normal file
View File

@@ -0,0 +1,30 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue()
],
css: {
preprocessorOptions: {
scss: {
additionalData: '@use "@/styles/element/index.module.scss" as *;'
}
}
},
resolve: {
// 配置路径别名
alias: {
'@': path.resolve(__dirname, './src')
}
},
server: {
port: 5174,
// 服务器代理 服务器没有部署Nginx的情况下使用
proxy: {
}
}
})