ryannhg/elm-spa/4.0.0

NOTE: the latest version is 6.0.0

Renamed to ryan-haskell/elm-spa. It is published under that name, and new versions come out there.

Versions published as ryannhg/elm-spa still install under that name. 13 versions of 13 come from the new location (see their notes).

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/ryan-haskell/elm-spa.

What we checked: The repo moved to github.com/ryan-haskell/elm-spa. Rebuilt with git archive from commit 546c6aa61e47 of https://github.com/ryan-haskell/elm-spa (zip prefix ryannhg-elm-spa-af96793/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 708fece4653689d356fc6044d1c650c94f8a3d79.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/ryannhg/elm-spa/zipball/4.0.0/

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!