25 lines
674 B
JSON
25 lines
674 B
JSON
{
|
||
"extends": "@vue/tsconfig/tsconfig.json",
|
||
"compilerOptions": {
|
||
"allowJs": true,
|
||
"sourceMap": true,
|
||
"baseUrl": ".",
|
||
"paths": {
|
||
"@/*": ["./src/*"]
|
||
},
|
||
"lib": ["esnext", "dom"],
|
||
"types": [
|
||
"@dcloudio/types",
|
||
"miniprogram-api-typings",
|
||
"@uni-helper/uni-app-types",
|
||
"@uni-helper/uni-ui-types"
|
||
]
|
||
},
|
||
// 校验 uni-app 组件类型
|
||
"vueCompilerOptions": {
|
||
// experimentalRuntimeMode 已废弃,现调整为 nativeTags,请升级 Volar 插件至最新版本
|
||
"nativeTags": ["block", "component", "template", "slot"]
|
||
},
|
||
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"]
|
||
}
|