single page apps made easy
Go to file
Benjamin Thomas c7f7c4d5a9
adding-a-sign-in-page: fix wrong sig
Plus I added a little hint for beginners (concrete vs unbound type variables confused me when I looked at elm-spa the first time)
2021-12-04 11:01:47 +01:00
docs adding-a-sign-in-page: fix wrong sig 2021-12-04 11:01:47 +01:00
examples Update vite.config.js 2021-06-21 19:28:45 -05:00
src Updated links in help messages 2021-09-05 13:59:13 +03:00
.gitignore prepare for beta publish 2021-01-16 13:39:53 -06:00
elm.json add examples, update images 2021-04-26 23:51:29 -05:00
LICENSE include license 2021-01-15 21:42:53 -06:00
README.md add examples, update images 2021-04-26 23:51:29 -05:00

elm-spa

Installation

npm install -g elm-spa@latest

Quick start

1. Create a new project

npx 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

npx 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 the ryannhg/elm-spa package documentation. The package only exists to constrain the CLI, and provides a few basic internal helper functions.

Check out the official website instead!