mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-22 05:02:57 +00:00
添加了项目所需的基础配置文件(.editorconfig、.gitignore、环境变量文件等),创建了通用工具函数、类型定义、枚举常量、路由配置、状态管理、国际化、自定义指令与插件等核心模块,新增了多个业务组件、布局组件与页面视图,并添加了大量SVG图标资源。
41 lines
889 B
JSON
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"]
|
|
}
|