fix: 在 vscode 中打开的 .vue 文件代码类型无法被推断的情况

pull/188/head
LiChaoYang 2023-12-29 17:36:04 +08:00
parent abd9667ba1
commit a216d0ccff
2 changed files with 12 additions and 11 deletions

View File

@ -1,11 +0,0 @@
{
"compilerOptions": {
"target": "es6",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
}
},
"exclude": ["node_modules", "dist"],
"include": ["src/**/*"]
}

View File

@ -0,0 +1,12 @@
{
"compilerOptions": {
// /* Bundler mode */
"allowJs": true,
"baseUrl": ".",
"outDir": "./dist",
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["src/**/*"]
}