Skip to content

Commit

Permalink
docs: modify readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
onshinpei committed Aug 17, 2022
1 parent d531d1f commit 1843412
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Because `react-router` `V5` upgrades to `V6` have a high cost, `react-router-man
-[**removeRoutes**] - Dynamically delete routes: you can use hook `useRemoveRoutes` to delete routes and automatically refresh the view.
- 🖇 [**updateRoutes**] - Dynamically modify routes: you can use hook `useUpdateRoutes` to modify routes.
- 🔐 [**permission**] - Permission control: configure the code of the route and automatically manage the permission of the route
- 👨‍✈️‍ [**route guard**] - Provide hooks for route entry config `beforeEnter` and `beforeEachMount`, route exit hook `useBeforeLeave`
- 🌲 [**navigation**] - level navigation: supports level navigation, and automatically generates navigation bars for parent-child routes, such as breadcrumbs and menu navigation

## Installation
Expand Down
1 change: 1 addition & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
-[**removeRoutes**] - 动态删除路由:可使用hook`useRemoveRoutes`删除路由,自动刷新视图。
- 🖇 [**updateRoutes**] - 动态修改路由:可使用hook`useUpdateRoutes`修改路由。
- 🔐 [**permission**] - 权限控制:配置路由的code,自动管理路由的权限
- 👨‍✈️‍ [**Route guard**] - 提供路由进入时的回调 `beforeEnter` and `beforeEachMount`, 路由离开时的钩子 `useBeforeLeave`
- 🌲 [**navigation**] - 层级导航:支持层级导航,自动实现父子级路由的导航栏生成,例如面包屑、菜单导航

## 安装
Expand Down

0 comments on commit 1843412

Please sign in to comment.