Skip to content

Commit

Permalink
feat: replace vite-plugin-pages by unplugin-vue-router (#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyinws committed Nov 9, 2023
1 parent 2fafa6f commit ccad06d
Show file tree
Hide file tree
Showing 11 changed files with 217 additions and 173 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Mocking up web app with <b>Vitesse</b><sup><em>(speed)</em></sup><br>
### Plugins

- [Vue Router](https://github.com/vuejs/router)
- [`vite-plugin-pages`](https://github.com/hannoeru/vite-plugin-pages) - file system based routing
- [`unplugin-vue-router`](https://github.com/posva/unplugin-vue-router) - file system based routing
- [`vite-plugin-vue-layouts`](https://github.com/JohnCampionJr/vite-plugin-vue-layouts) - layouts for pages
- [Pinia](https://pinia.vuejs.org) - Intuitive, type safe, light and flexible Store for Vue using the composition api
- [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components) - components auto import
Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
### 插件

- [Vue Router](https://github.com/vuejs/router)
- [`vite-plugin-pages`](https://github.com/hannoeru/vite-plugin-pages) - 以文件系统为基础的路由
- [`unplugin-vue-router`](https://github.com/posva/unplugin-vue-router) - 以文件系统为基础的路由
- [`vite-plugin-vue-layouts`](https://github.com/JohnCampionJr/vite-plugin-vue-layouts) - 页面布局系统
- [Pinia](https://pinia.vuejs.org) - 直接的, 类型安全的, 使用 Composition API 的轻便灵活的 Vue 状态管理
- [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components) - 自动加载组件
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@
"unplugin-vue-components": "^0.25.2",
"unplugin-vue-macros": "^2.6.2",
"unplugin-vue-markdown": "^0.24.3",
"unplugin-vue-router": "^0.7.0",
"vite": "^5.0.0-beta.15",
"vite-bundle-visualizer": "^0.10.0",
"vite-plugin-inspect": "^0.7.41",
"vite-plugin-pages": "^0.31.0",
"vite-plugin-pwa": "^0.16.6",
"vite-plugin-vue-devtools": "^1.0.0-rc.5",
"vite-plugin-vue-layouts": "^0.8.0",
Expand Down
174 changes: 30 additions & 144 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ccad06d

Please sign in to comment.