Simple SPA template. Structured to handle multiple pages divided into modules. Made to be the bare minimum of a SPA but with a structure that can scale well.
This is basically a trimmed down version of the Elm Real World example from Richard Feldman. So all credit to him.
1. Install elm
and elm-live
:
npm install -g elm elm-live
2. Build and run:
elm-live --output=elm.js src/Main.elm --pushstate --open --debug