npm install -g elm-spa@latest
npx elm-spa new
your-new-project/
- elm.json
- src/Pages/Home_.elm
- public/index.html
npx elm-spa server # Ready at http://localhost:1234
Visit the official site at elm-spa.dev for more examples, guides, and other documentation.
If you are using elm-spa, there's no need to read the ryan-haskell/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!