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

+1 -2
View File
@@ -63,8 +63,7 @@
### 插件
- [Vue Router](https://github.com/vuejs/vue-router)
- [`unplugin-vue-router`](https://github.com/posva/unplugin-vue-router) - 以文件系统为基础的路由
- [Vue Router](https://github.com/vuejs/vue-router) - 以文件系统为基础的路由
- [`unplugin-auto-import`](https://github.com/antfu/unplugin-auto-import) - 直接使用 Composition API 等,无需导入
- [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components) - 自动加载组件
- [`unplugin-vue-macros`](https://github.com/sxzz/unplugin-vue-macros) - 探索并扩展更多的宏和语法糖到 Vue 中