Files
youlai-app/tsconfig.json
Ray.Hao 819a663081 refactor: 迁移页面路由配置至 definePage 并重构 tabbar 实现
- 使用 definePage() 替代 <route> 自定义块配置页面路由
- 重构 tabbar 组件,移除 useTabbar 和 uni-mini-router 依赖
- 改用原生 uni.switchTab 实现标签页切换
- 更新相关配置文件和静态资源
2026-05-18 17:50:06 +08:00

31 lines
1.0 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"compilerOptions": {
"module": "esnext",
"moduleResolution": "node",
"target": "esnext",
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
},
"lib": ["esnext", "dom"],
"types": ["@dcloudio/types", "@uni-helper/uni-types", "@wot-ui/ui/global"]
},
"vueCompilerOptions": {
// 调整 VolarVue 语言服务工具)解析行为,用于为 uni-app 组件提供 TypeScript 类型
"plugins": ["@uni-helper/uni-types/volar-plugin"],
// 禁用原生组件严格类型检查uni-app 原生组件与 Volar 的兼容性问题)
"nativeTags": ["block", "component", "template", "slot"],
// 忽略 slot props 隐式 any 类型错误(递归组件 slot 转发的已知限制)
"strictTemplates": false
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
"exclude": ["node_modules", "dist"]
}