Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/simon-larsson/elm-spa-template
- Owner: simon-larsson
- License: mit
- Created: 2017-06-20T12:29:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-12T10:59:39.000Z (over 6 years ago)
- Last Synced: 2024-08-05T20:31:56.304Z (5 months ago)
- Language: Elm
- Size: 52.7 KB
- Stars: 48
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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