4100a51eb8
部署开发环境 / deploy-dev (push) Successful in 2m18s
- 移除手动导入的 Vue 和 Element Plus 相关模块 - 集成 unplugin-auto-import 插件实现自动导入 - 集成 unplugin-vue-components 插件实现组件自动注册 - 添加自动生成的类型声明文件 auto-imports.d.ts 和 components.d.ts - 配置 Element Plus 解析器支持按需导入 - 更新 tsconfig.app.json 包含自动生成的类型文件
27 lines
680 B
JSON
27 lines
680 B
JSON
{
|
|
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
|
"include": [
|
|
"env.d.ts",
|
|
"src/**/*",
|
|
"src/**/*.vue",
|
|
"auto-imports.d.ts",
|
|
"components.d.ts"
|
|
],
|
|
"exclude": [
|
|
"src/**/__tests__/*"
|
|
],
|
|
"compilerOptions": {
|
|
// Extra safety for array and object lookups, but may have false positives.
|
|
"noUncheckedIndexedAccess": true,
|
|
// Path mapping for cleaner imports.
|
|
"paths": {
|
|
"@/*": [
|
|
"./src/*"
|
|
]
|
|
},
|
|
// `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
|
|
// Specified here to keep it out of the root directory.
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo"
|
|
}
|
|
}
|