添加Pinia状态管理、Vue Router路由、Element Plus UI组件库和Axios请求库 配置Vite别名和TS路径映射 实现用户登录、路由守卫和请求拦截功能 添加全局类型定义和工具函数
19 lines
457 B
JSON
19 lines
457 B
JSON
{
|
|
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
|
"compilerOptions": {
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
"types": ["vite/client"],
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/*"]
|
|
},
|
|
|
|
/* Linting */
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"erasableSyntaxOnly": true,
|
|
"noFallthroughCasesInSwitch": true
|
|
},
|
|
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"]
|
|
}
|