Skip to content

Gizra/elm-spa-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

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

  1. Serve locally, and watch file changes: gulp
  2. Prepare file for publishing (e.g. minify, and rev file names): gulp publish
  3. 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