Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-router-dom的BrowserRouter没有暴露出来吗? #83

Open
zhaoyuchief opened this issue Dec 5, 2017 · 1 comment
Open

react-router-dom的BrowserRouter没有暴露出来吗? #83

zhaoyuchief opened this issue Dec 5, 2017 · 1 comment

Comments

@zhaoyuchief
Copy link

react-router-dom的BrowserRouter没有暴露出来吗?

@llh911001
Copy link
Member

Mirror 将 react-router 的 3 种 Router 统一暴露出来一个 Router 组件,并通过 mirorr.defaultshistoryMode 字段 接口指定是使用 HashRouter 还是 BrowserRouter

具体可以看文档

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants