Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/simon-larsson/elm-spa-template

Template application for elm that is divided into sub models for several pages
https://github.com/simon-larsson/elm-spa-template

Last synced: about 2 months ago
JSON representation

Template application for elm that is divided into sub models for several pages

Awesome Lists containing this project

README

        

# Elm SPA Template

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](https://github.com/rtfeldman/elm-spa-example "Real World") example from Richard Feldman. So all credit to him.

## Get It Running

**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