chore: update dependencies and migrate to vue-router (#56)

* 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
This commit is contained in:
谦元吉 authored and GitHub committed 2026-03-06 14:50:16 +09:00
1 parent 336870f372
commit 53bdd9f2ef
12 files changed
+3275 -2605

No files matched your search

+16 -4
View File
@@ -2,18 +2,22 @@
"compilerOptions": {
"target": "es2020",
"jsx": "preserve",
"lib": ["DOM", "ESNext"],
"lib": [
"DOM",
"ESNext"
],
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "bundler",
"paths": {
"~/*": ["src/*"]
"~/*": [
"src/*"
]
},
"resolveJsonModule": true,
"types": [
"vite/client",
"unplugin-vue-macros/macros-global",
"unplugin-vue-router/client"
"unplugin-vue-macros/macros-global"
],
"allowJs": true,
"strict": true,
@@ -24,6 +28,14 @@
"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",