添加unplugin-auto-import插件配置,自动导入vue、vue-router等常用API 更新tsconfig.json包含auto-imports.d.ts类型声明文件 修改文档说明开发时注意事项
29 lines
644 B
JSON
29 lines
644 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": "./",
|
|
"outDir": "./dist",
|
|
"target": "esnext",
|
|
"module": "Preserve",
|
|
"moduleDetection": "force",
|
|
"jsx": "preserve",
|
|
"noImplicitAny": false,
|
|
"allowSyntheticDefaultImports": true,
|
|
"declaration": true,
|
|
"resolveJsonModule": true,
|
|
"esModuleInterop": true,
|
|
"sourceMap": true,
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
},
|
|
"lib": ["esnext", "dom"]
|
|
},
|
|
"include": ["src/*.ts", "src/*.d.ts", "src/renderer", "src/renderer/auto-imports.d.ts"],
|
|
"references": [
|
|
{
|
|
"path": "./tsconfig.node.json"
|
|
}
|
|
]
|
|
}
|