【React-Router】关于browserHistory出现did not match any routes的问题
最近学习通过react来开发单页面应用,通过参考其他例子开始编写,入口Jsx文件如下:
Router history={browserHistory}>
Route path="/" component={Base}>
{/* Default route*/}
IndexRoute component={SingleView} />
R
原创
2017-02-15 19:30:45 ·
4803 阅读 ·
0 评论