I needing use React Router
with a Laravel
project.
But when I create router on the React Router
and try access, Laravel
accuse Route not exist error.
How to can I use React Router
to manager Laravel project routes?
render((
<Router history={browserHistory}>
<Route path="/" component={App}/>
<Route path="/profile" component={Profile}/> // this route I trying access
</Router>
), document.getElementById('root'));
See Question&Answers more detail:os