mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 19:02:09 +02:00

* pages/*: add `< >` around links in example descriptions * Apply suggestions from code review Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * apm: add `< >` to the English page --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
28 lines
583 B
Markdown
28 lines
583 B
Markdown
# elm
|
|
|
|
> Compile and run Elm source files.
|
|
> More information: <https://elm-lang.org>.
|
|
|
|
- Initialize an Elm project, generates an elm.json file:
|
|
|
|
`elm init`
|
|
|
|
- Start interactive Elm shell:
|
|
|
|
`elm repl`
|
|
|
|
- Compile an Elm file, output the result to an `index.html` file:
|
|
|
|
`elm make {{source}}`
|
|
|
|
- Compile an Elm file, output the result to a JavaScript file:
|
|
|
|
`elm make {{source}} --output={{destination}}.js`
|
|
|
|
- Start local web server that compiles Elm files on page load:
|
|
|
|
`elm reactor`
|
|
|
|
- Install Elm package from <https://package.elm-lang.org>:
|
|
|
|
`elm install {{author}}/{{package}}`
|