You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
850 B

{
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"moduleResolution": "Node",
"strict": true,
"jsx": "preserve",
"sourceMap": true,
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"lib": ["ESNext", "DOM"],
"skipLibCheck": true,
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
},
// Volar支持,指定全局组件类型
"types": ["element-plus/global"],
// 允许编译器编译JS文件
"allowJs": true,
// 允许在JS文件中报错,通常与allowJS一起使用
// "checkJs": true
"allowSyntheticDefaultImports": true // 允许引入没有默认导出的模块
},
"include": ["src/**/*"],
"exclude": ["node_modules"],
"references": [{ "path": "./tsconfig.node.json" }]
}