feat: 初始化项目结构并添加基础配置
添加前后端基础项目结构,包括.gitignore、package.json等配置文件 实现前端基础功能模块,包括路由、状态管理、API请求封装等 添加前端UI组件库和样式体系 配置开发环境Mock系统和构建工具链
This commit is contained in:
41
front-end/tsconfig.json
Normal file
41
front-end/tsconfig.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"~/*": ["*"],
|
||||
"@/*": ["./src/*"],
|
||||
"/#/*": ["./types/*"],
|
||||
"@vab/*": ["./library/*"],
|
||||
"@gp": ["./library/plugins/vab"]
|
||||
},
|
||||
|
||||
"target": "ES2020",
|
||||
"useDefineForClassFields": true,
|
||||
"module": "ESNext",
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable", "scripthost"],
|
||||
"skipLibCheck": true,
|
||||
|
||||
/* Bundler mode */
|
||||
"allowJs": true,
|
||||
"moduleResolution": "node",
|
||||
"allowImportingTsExtensions": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"esModuleInterop": true,
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"noEmit": true,
|
||||
"jsx": "preserve",
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.ts",
|
||||
"src/**/*.tsx",
|
||||
"src/**/*.vue",
|
||||
"mock/**/*.ts",
|
||||
"types/**/*.d.ts",
|
||||
"library/**/*.ts",
|
||||
"library/**/*.tsx",
|
||||
"library/**/*.vue",
|
||||
"test/**/*.ts"
|
||||
],
|
||||
"exclude": ["node_modules", "library/build/chainWebpack"]
|
||||
}
|
||||
Reference in New Issue
Block a user