mirror of
https://github.com/xiangshu233/vue3-vant4-mobile.git
synced 2026-04-29 15:08:11 +08:00
升级核心依赖与构建链路(Vite/Vue/Pinia/VueUse/Vant 等)并完成兼容调整 Vibe Coding 了一个导航组件 FloatingNavBar 修复暗黑模式 switch 动画异常:统一 useDark 行为并设置 disableTransition: false,恢复 Vant Switch 过渡动画 调整亮色模式下页面背景与卡片层次(以边框+轻阴影为主),降低过强对比并提升一致性 我的页面入口 icon 统一为线性风格
42 lines
1.0 KiB
JSON
42 lines
1.0 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"jsx": "preserve",
|
|
"lib": ["ESNext", "DOM"],
|
|
"useDefineForClassFields": true,
|
|
"baseUrl": ".",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"paths": {
|
|
"@/*": ["src/*"],
|
|
"#/*": ["types/*"]
|
|
},
|
|
"resolveJsonModule": true,
|
|
"typeRoots": ["./node_modules/@types/", "./types"],
|
|
"types": ["vite/client"],
|
|
"strict": true,
|
|
"noImplicitAny": false,
|
|
"sourceMap": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"isolatedModules": true,
|
|
"skipLibCheck": true
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"src/**/*.d.ts",
|
|
"src/**/*.vue",
|
|
"components.d.ts",
|
|
"types/**/*.d.ts",
|
|
"types/**/*.ts",
|
|
"build/**/*.ts",
|
|
"build/**/*.d.ts",
|
|
"mock/**/*.ts",
|
|
"vite.config.ts"
|
|
],
|
|
"exclude": ["node_modules", "dist", "**/*.js"]
|
|
}
|
|
|
|
// tsconfig.json文件 compilerOptions 常用配置 https://juejin.cn/post/7091530360114118670
|
|
// tsconfig 常用配置解析 https://segmentfault.com/a/1190000021421461
|