Commit 6f85ac47 by zhangxingmin

push

parent 06cc4871
......@@ -21,8 +21,7 @@ export default defineConfig({
resolve: {
extensions: ['.vue', '.js', '.ts', '.json'],
alias: {
// 指向 src 目录(如果你的项目结构有 src 目录)
'@': path.resolve(__dirname, 'src'),
'@': path.resolve(__dirname),
'@api': path.resolve(__dirname, 'api'),
// 确保 Vue 2 正确解析
'vue': 'vue/dist/vue.runtime.common.js'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment