Last active
August 29, 2015 14:26
-
-
Save kangkyu/ea1d3606ea6e82c1fba0 to your computer and use it in GitHub Desktop.
elm package install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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