I\'m trying to post my SPA app that works fine locally but when I push it to Github Pages, the interior pages don\'t register if you navigate to them directly.
For
I just built this tiny package (for bower / npm) to solves that exact problem so I thought I'd share it here as an answer to your question,
https://github.com/websemantics/gh-pages-spa
If you include the package in your 404.html
and index.html
pages, it will redirect all the traffic to Index.html
,
It supports Project and User/Org Pages type repositories, handles QueryStrings and comes with a working example,