2021-04-24 23:04:29 +03:00
|
|
|
# examples/01-hello-world
|
2021-03-16 04:29:52 +03:00
|
|
|
> 🌳 built with [elm-spa](https://elm-spa.dev)
|
|
|
|
|
|
|
|
## dependencies
|
|
|
|
|
|
|
|
This project requires the latest LTS version of [Node.js](https://nodejs.org/)
|
|
|
|
|
|
|
|
```bash
|
|
|
|
npm install -g elm elm-spa
|
|
|
|
```
|
2021-01-16 06:39:37 +03:00
|
|
|
|
|
|
|
## running locally
|
|
|
|
|
|
|
|
```bash
|
2021-03-16 04:29:52 +03:00
|
|
|
elm-spa server # starts this app at http:/localhost:1234
|
2021-01-16 06:39:37 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
### other commands
|
|
|
|
|
|
|
|
```bash
|
2021-03-16 04:29:52 +03:00
|
|
|
elm-spa add # add a new page to the application
|
|
|
|
elm-spa build # production build
|
|
|
|
elm-spa watch # runs build as you code (without the server)
|
2021-01-16 06:39:37 +03:00
|
|
|
```
|
2021-03-16 04:29:52 +03:00
|
|
|
|
|
|
|
## learn more
|
|
|
|
|
2021-04-24 23:04:29 +03:00
|
|
|
You can learn more at [elm-spa.dev](https://elm-spa.dev)
|