elm
Compile and run Elm source files. More information: https://guide.elm-lang.org/install/elm.html.
- Initialize an Elm project, generate an
elm.jsonfile:
elm init
- Start interactive Elm shell:
elm repl
- Compile an Elm file, output the result to an
index.htmlfile:
elm make
- Compile an Elm file, output the result to a JavaScript file:
elm make --output=.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 /
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
