POC for HTML5 mode work without server-side code
JavaScript Vue HTML Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
src
.babelrc
.gitignore
404.html
README.md
index.html
package.json
update404.sh
webpack.config.js

README.md

POC to make HTML5 mode (SPA without hashbang) work on github pages without any server-side configuration.

This uses a trick I read on Coderwall which makes the 404.html same as index.html and hence on every invalid page request, server responds with contents of index.html - as it should after server-side configuration for a SPA.

DEMO