Skip to content

Commit

Permalink
docs: 文档更新
Browse files Browse the repository at this point in the history
  • Loading branch information
bailicangdu committed Sep 10, 2021
1 parent d6d3ba7 commit f2eed24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/zh-cn/configure.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

以react-router为例,在子应用的路由中配置`basename`
```js
<BrowserRouter basename={window.__MICRO_APP_BASE_URL__ || '/'}>
<BrowserRouter basename={window.__MICRO_APP_BASE_ROUTE__ || '/'}>
<Switch>
...
</Switch>
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-cn/route.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ let app = new Vue({
<!-- tabs:end -->

> [!TIP]
> vue-router@4设置baseroute的方式请查看 https://next.router.vuejs.org/
> vue-router@4.x设置base的方式请查看 https://next.router.vuejs.org/

### 应用之间如何跳转
Expand Down

0 comments on commit f2eed24

Please sign in to comment.