1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 07:04:54 +02:00
tldr/pages/common/elm.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

28 lines
581 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}}`