DEV Community

Discussion on: Github Pages??

Collapse
 
austinspaeth profile image
Austin Spaeth

Yeah, as long as it's a front-end application, then it will work great. I use it a lot to demo my applications to people. The biggest downfall I've found is not being able to use routing due to the inability for it to fallback to the index.html for 404 errors. Good luck with your explorations!

Thread Thread
 
danmba profile image
Dan

I use react-router with hash routing and it works fine. Your url will look like “my.github.io/repo-name/#/my/route” and everything after the “#” is your route.

Thread Thread
 
caffiendkitten profile image
DaNeil C

Thanks for this tip! I was hoping to use react-router.