24 lines
474 B
Markdown
24 lines
474 B
Markdown
Part 3
|
|
======
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
elm-package install
|
|
```
|
|
|
|
(Answer `y` when prompted.)
|
|
|
|
|
|
## Building
|
|
|
|
```bash
|
|
elm-live Main.elm --open --pushstate --output=elm.js
|
|
```
|
|
|
|
## References
|
|
|
|
* [The Elm Architecture](http://guide.elm-lang.org/architecture/)
|
|
* [`onClick` documentation](http://package.elm-lang.org/packages/evancz/elm-html/4.0.2/Html-Events#onClick)
|
|
* [record update syntax reference](http://elm-lang.org/docs/syntax#records) (e.g. `{ model | query = "foo" }`)
|