Files
vue3-element-admin/tsconfig.json
Ray.Hao 9fb1942619 refactor: 重构项目结构 - enums/config/types/plugins
- 重构 enums: 按业务域合并为 5 个文件
- 创建 config: storage.ts, vxe-table.ts
- 删除 plugins,功能迁移到 main.ts
- 创建完整 types 结构
- 新增 utils: validators, websocket, register-components
- 创建 router/guards/permission.ts
- 更新配置文件
2025-12-12 13:59:40 +08:00

42 lines
908 B
JSON

{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"moduleResolution": "bundler",
"lib": ["esnext", "dom"],
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
},
// 严格性和类型检查相关配置
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
// 模块和兼容性相关配置
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"resolveJsonModule": true,
// 调试和兼容性相关配置
"sourceMap": true,
"useDefineForClassFields": true,
"allowJs": true,
// 类型声明相关配置
"types": ["node", "vite/client", "element-plus/global"]
},
"include": [
"types/**/*.d.ts",
"mock/**/*.ts",
"src/**/*.ts",
"src/**/*.vue",
"vite.config.ts",
"eslint.config.ts",
"uno.config.ts"
],
"exclude": ["node_modules", "dist"]
}