-
Notifications
You must be signed in to change notification settings - Fork 373
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
How to incorporate react-router? #47
Comments
@younanjo check out my project here in which |
@xiaoyunyang Your project is quite big. Not sure where to look for the react-router incorporation. Can you point me in the right direction? |
@borisyordanov I suggest you start with this starter project repo, which is a lot smaller and easier to follow. There's an tutorial I wrote on this repo to walk through how to set up this project. This starter project does not have create-react-app hookup. If you want to see how to incorporate it into the create-react-app project, what you want to do is to make sure your entrypoint for the client application is index.js and moved the Let me know if this helps! |
Can someone suggest how one would go about adding
react-router
v4 to the mix so that react handles all the routes other than/api/*
.The text was updated successfully, but these errors were encountered: