mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
b2d3c84281
* Update devfsadm.md * Update devfsadm.md * Update piper.md * Update bun-pm-pkg.md * Update aa-unconfined.md * Update wmic.md * Update trdsql.md * Update elm.md * Update electron-packager.md * Update cheatshh.md
608 B
608 B
elm
Compile and run Elm source files. More information: https://guide.elm-lang.org/install/elm.html.
- Initialize an Elm project, generates an
elm.jsonfile:
elm init
- Start interactive Elm shell:
elm repl
- Compile an Elm file, output the result to an
index.htmlfile:
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}}