elm v0.17 single page application (SPA) example
Read about this app in the post Faithful Elm and the Amazing Router
Installation
Make sure the following are installed:
- NodeJs (and npm)
- Elm (e.g.
npm install -g [email protected]
) - Compass (for SASS) (
gem update --system && gem install compass
)
Usage
- 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
Unit Tests
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
License
MIT