Did you run: browserify -o browserified.js index.js

Please notice the URL bar and link hover text

Works in a simulated way when running from a file: URL

Refresh and bookmarking require:

  1. The server must return the SPA's HTML at all the other paths. For github-pages we couldn't do a server rewrite rule, so we used
    for x in green yellow purple gray; do ln -s index.html $x.html; done
  2. The HTML must have
    <link rel="start" href="...">
    so the SPA can find where it should go for the empty state.

Hello

(default) green yellow purple gray