30 lines
773 B
JSON
30 lines
773 B
JSON
{
|
|
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
|
"compilerOptions": {
|
|
"baseUrl": "./",
|
|
"lib": ["ES2022", "DOM"],
|
|
"paths": {
|
|
"@/*": ["src/*"]
|
|
},
|
|
"jsx": "preserve",
|
|
"types": ["vite/client", "vue", "vue-i18n"],
|
|
"incremental": true,
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true
|
|
},
|
|
"include": [
|
|
// 新增:自动导入的类型定义(根目录)
|
|
"auto-imports.d.ts",
|
|
// 新增:自动注册的组件类型定义(根目录)
|
|
"components.d.ts",
|
|
"src/**/*.ts",
|
|
"src/**/*.d.ts",
|
|
"src/**/*.tsx",
|
|
"src/**/*.vue",
|
|
"vite.config.ts",
|
|
"src/main.ts"
|
|
]
|
|
} |