第一次提交:Vue3后台前端最新版本
This commit is contained in:
12
vite.config.js
Normal file
12
vite.config.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import path from 'path' // 引入 path 模块
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, 'src') // 设置 @ 指向 src 目录
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user