* chore: update dependencies and migrate to vue-router - Updated package versions in pnpm-workspace.yaml for build and dev dependencies. - Added migration note for vue-router in src/pages/README.md. - Created typed-router.d.ts for type definitions generated by vue-router. - Modified tsconfig.json to include typed-router.d.ts. - Updated vite.config.ts to use new vue-router imports and configured type definitions. * fix: type fix * fix: type fix * fix:resolve typescript error
45 lines
821 B
JSON
45 lines
821 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2020",
|
|
"jsx": "preserve",
|
|
"lib": [
|
|
"DOM",
|
|
"ESNext"
|
|
],
|
|
"baseUrl": ".",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"paths": {
|
|
"~/*": [
|
|
"src/*"
|
|
]
|
|
},
|
|
"resolveJsonModule": true,
|
|
"types": [
|
|
"vite/client",
|
|
"unplugin-vue-macros/macros-global"
|
|
],
|
|
"allowJs": true,
|
|
"strict": true,
|
|
"strictNullChecks": true,
|
|
"noUnusedLocals": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"skipLibCheck": true
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"src/**/*.d.ts",
|
|
"src/**/*.vue",
|
|
"auto-imports.d.ts",
|
|
"components.d.ts",
|
|
"shims.d.ts"
|
|
],
|
|
"exclude": [
|
|
"dist",
|
|
"node_modules",
|
|
"eslint.config.js"
|
|
]
|
|
}
|