Skip to content

Example of starter Single Page Application with Elm 0.19

Notifications You must be signed in to change notification settings

rdelgatte/elm-spa-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Elm SPA starter

Initialize a SPA stack composed with:

  • A header: with a logo icon and a navigation menu (to expose some routes)
  • A content: depending on the page to load (from the URL being loaded)
  • A footer

Startup

MacOS

Prerequisites: Homebrew

  • Install elm: brew install elm
  • Install or update npm: brew install npm or brew upgrade npm
  • Install elm-live: npm install -g elm-live
  • Start application: elm-live src/Main.elm --port=1234 --open -- --output=main.js

Unix

  • Install elm: apt-get install elm
  • Install or update npm: apt-get install npm or apt-get upgrade npm
  • Install elm-live: npm install -g elm-live
  • Start application: elm-live src/Main.elm --port=1234 --open -- --output=main.js

Windows

  • Install elm: Windows Installer
  • Install or update npm: Node
  • Install elm-live: npm install -g elm-live
  • Start application: elm-live src/Main.elm --port=1234 --open -- --output=main.js

Technologies

Written in Elm 0.19.0

Elm logo

Hot-reload

Install elm-live: npm install -g elm-live

Start application: elm-live src/Main.elm --port=1234 --open -- --output=main.js --debug

Formatter

Install elm-format following this startup guide: Install Elm format

This aims to format using Elm style guide when saving.

About

Example of starter Single Page Application with Elm 0.19

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages