我需要React Router与一个Laravel项目一起使用。
但是当我在上面创建路由器React Router并尝试访问时,Laravel指责路由不存在错误。
如何使用React Router管理 Laravel 项目路线?
render((
<Router history={browserHistory}>
<Route path="/" component={App}/>
<Route path="/profile" component={Profile}/> // this route I trying access
</Router>
), document.getElementById('root'));