elm v0.17 single page application (SPA) example
Read about this app in the post Faithful Elm and the Amazing Router
Make sure the following are installed:
- NodeJs (and npm)
- Elm (e.g.
npm install -g elm@0.17.0
) - Compass (for SASS) (
gem update --system && gem install compass
)
- Serve locally, and watch file changes:
gulp
- Prepare file for publishing (e.g. minify, and rev file names):
gulp publish
- Deploy to GitHub's pages (
gh-pages
branch of your repository):gulp deploy
In order to view the tests on the browser Start elm reactor (elm-reactor) and navigate to http://0.0.0.0:8000/src/elm/TestRunner.elm
MIT