2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-15 06:12:59 +00:00
cheat.sheets/sheets/elm
2020-11-18 07:48:19 +01:00

31 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