Skip to content

Instantly share code, notes, and snippets.

@kangkyu
Last active August 29, 2015 14:26
Show Gist options
  • Save kangkyu/ea1d3606ea6e82c1fba0 to your computer and use it in GitHub Desktop.
Save kangkyu/ea1d3606ea6e82c1fba0 to your computer and use it in GitHub Desktop.
elm package install
elm package install
elm package install evancz/elm-html
<add & edit Bingo.elm>
# elm make --warn Bingo.elm --output index.html
elm reactor # and then open Bingo.elm file
module Bingo where
import Html exposing (..)
import String exposing (repeat, toUpper)
main =
text (repeat 3 (toUpper "bingo!"))
--"bingo!"
-- |> String.toUpper
-- |> String.repeat 3
-- |> Html.text
main =
Html.h1 [] [Html.text "Hello World"]
sudo npm install -g grunt-cli --save-dev
sudo npm install grunt --save-dev
sudo npm install grunt-contrib-watch --save-dev
sudo npm install grunt-contrib-clean --save-dev
sudo npm install grunt-elm --save-dev
grunt elm
grunt cleanup
grunt watch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment