2021-04-24 23:04:45 +03:00
|
|
|
# examples/02-pages
|
2021-02-15 23:21:37 +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
|
|
|
|
```
|
|
|
|
|
|
|
|
## running locally
|
|
|
|
|
|
|
|
```bash
|
|
|
|
elm-spa server # starts this app at http:/localhost:1234
|
|
|
|
```
|
|
|
|
|
|
|
|
### other commands
|
|
|
|
|
|
|
|
```bash
|
|
|
|
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)
|
|
|
|
```
|
|
|
|
|
|
|
|
## learn more
|
|
|
|
|
2021-04-24 23:04:45 +03:00
|
|
|
You can learn more at [elm-spa.dev](https://elm-spa.dev)
|