mirror of
https://github.com/ryan-haskell/elm-spa.git
synced 2024-09-11 20:38:06 +03:00
893 B
893 B
Installation
npm install -g elm-spa@6.0.0
Learn more
Visit the official site at elm-spa.dev for more examples, guides, and other documentation.
The Elm package
If you are using elm-spa, there's no read through the Elm package documentation. The package exists to constrain the CLI, and serves as a reference for future contributions.
At a glance
1. Create a new project
mkdir your-new-app
cd your-new-app
elm-spa new
2. Check out the new files
your-elm-app/
- elm.json
- src/Pages/Home_.elm
- public/index.html
3. Run it in your browser
elm-spa server # Ready at http://localhost:1234