Files
FastapiAdmin/frontend/web-old/tsconfig.json
T
zhangtao fe9e32856f chore: 初始化前端项目基础结构与配置
添加了项目所需的基础配置文件(.editorconfig、.gitignore、环境变量文件等),创建了通用工具函数、类型定义、枚举常量、路由配置、状态管理、国际化、自定义指令与插件等核心模块,新增了多个业务组件、布局组件与页面视图,并添加了大量SVG图标资源。
2026-05-18 21:51:16 +08:00

41 lines
889 B
JSON

{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
"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": [
"src/types/**/*.d.ts",
"src/**/*.ts",
"src/**/*.vue",
"vite.config.ts",
"eslint.config.ts",
"uno.config.ts"
],
"exclude": ["node_modules", "dist"]
}