single page apps made easy
Go to file
2021-02-15 12:56:42 -06:00
docs updated readme logo 2021-02-11 22:19:44 -06:00
examples/01-hello-world move over from private repo 2021-01-15 21:39:37 -06:00
src support exposed view static pages 2021-02-15 12:56:42 -06:00
.gitignore prepare for beta publish 2021-01-16 13:39:53 -06:00
elm.json new effect api 2021-02-04 22:55:53 -06:00
LICENSE include license 2021-01-15 21:42:53 -06:00
README.md update logo on readme to work with dark mode github 2021-02-11 22:11:15 -06:00

elm-spa

Installation

npm install -g elm-spa@latest

Quick start

1. Create a new project

mkdir your-new-project
cd your-new-project
elm-spa new

2. Check out the new files

your-new-project/
  - elm.json
  - src/Pages/Home_.elm
  - public/index.html

3. Run it in your browser

elm-spa server   # Ready at http://localhost:1234

Learn more

Visit the official site at elm-spa.dev for more examples, guides, and other documentation.

Do I need the Elm package?

If you are using elm-spa, there's no need to read through the ryannhg/elm-spa package documentation. The package exists to constrain the CLI, and provides basic internal helper functions. Check out the official guide instead!