React-router使用时url里的#(井号)问题

#1

请问怎样可以去除使用react-router时url里的井号(#)???

#2

React-Router 默认使用hash history的替换掉

import { browserHistroy } from 'react-router'

...
<Router history={browserHistory}>
...
</Router>
#3

这只能去掉最后跟着的hash value 吧

#4

已解决,感谢

#5

请问你是怎么解决的??

#6

很急!非常感谢能告诉我。我的qq:1154791107

#7

上面不是都解释了么?
要用browserHistory,不要用hashHistory