single page apps made easy
Go to file
Ryan Haskell-Glatz 1b6d96f347 bump cli to v4.0.2
2020-03-27 00:18:19 -05:00
cli bump cli to v4.0.2 2020-03-27 00:18:19 -05:00
example version 4 bb 2020-03-26 23:43:08 -05:00
src version 4 bb 2020-03-26 23:43:08 -05:00
.gitignore version 4 bb 2020-03-26 23:43:08 -05:00
docs.json version 4 bb 2020-03-26 23:43:08 -05:00
elm.json version 4 bb 2020-03-26 23:43:08 -05:00
LICENSE add license 2020-03-26 23:47:53 -05:00
README.md update readme 2020-03-26 23:46:52 -05:00

elm-spa

single page apps made easy

try it out

npx elm-spa init new-project

or just install the elm package

elm install ryannhg/elm-spa

or run the example

cd example && npm start

overview

When you create an app with the elm/browser package, you can build anything from a static Html msg page to a fully-fledged web Browser.application.

elm-spa uses that design at the page-level, so you can quickly add new pages to your Elm application!

the four kinds of pages:

  1. static a page that only renders HTML.
  2. sandbox a page with state.
  3. element a page with side-effects.
  4. component a page with global state.

Check out the package docs to learn more!