2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-05 12:00:16 +00:00
cheat.sheets/sheets/elm
2017-06-15 18:13:18 +00:00

30 lines
679 B
Plaintext

# Elm
# Domain-specific programming language for declaratively creating web browser-based graphical user interfaces.
# Start Elm REPL
elm repl
# Default compilation
elm make HelloWorld.elm -> index.html
# Custom name
elm make HelloWorld.elm --output hw.js
# Compile multiple files
elm make HelloWorld.elm MyModule.elm --output hw.js
# Compile with warnings
elm make HelloWorld.elm --warn
# Save result to a HTML
elm make HelloWorld.elm --output hw.html
# Install a package
elm package install evancz/elm-html
# See also:
# Elm language cheat sheets at /elm/
# list of pages: /elm/:list
# learn Elm: /elm/:learn
# search in pages: /elm/~keyword