DEV Community

Discussion on: Github Pages??

Collapse
 
austinspaeth profile image
Austin Spaeth

I knew about Github pages, but never knew you could have a page at the root level. Thanks for sharing!

Collapse
 
caffiendkitten profile image
DaNeil C

Apparently so. I'm still playing with it to see what I can get it to do. It looks like it can be a full hosting space as long as the files are there on your github

Collapse
 
zenulabidin profile image
Ali Sherief

It's really great for people who can't get a hosting provider for whatever reason.

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.