re: Deploy a React App as a Github User Page with Yarn VIEW POST

FULL DISCUSSION
 

Great article.

When using react-router, have you tried adding a redirect, from '/repository-name' to '/home' to solve the final issue?

Edit

I have tried this and it works. add <Route exact path="/your-github-repo" render={() => <Redirect to="/" />} /> to your routes

code of conduct - report abuse