chore: 更新 .gitignore 文件
- 添加日志文件和依赖管理工具的缓存文件到忽略列表 - 忽略 Visual Studio Code 和其他编辑器的配置文件 - 排除 cypress 测试的视频和截图文件 - 忽略 TypeScript 编译信息文件
This commit is contained in:
20
web/vite.config.js
Normal file
20
web/vite.config.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import { fileURLToPath, URL } from 'node:url'
|
||||
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import vueJsx from '@vitejs/plugin-vue-jsx'
|
||||
import vueDevTools from 'vite-plugin-vue-devtools'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
vue(),
|
||||
vueJsx(),
|
||||
vueDevTools(),
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./src', import.meta.url))
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user