diff options
author | yaniv-l <yanivl@srl.co.il> | 2016-10-29 12:01:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-29 12:01:51 +0300 |
commit | d463155d195e2fd66975c1b0687d004cf65bfd27 (patch) | |
tree | 31d622c9eebc90533ae703f125914523423b3a41 | |
parent | 18a9f93da0f6020bc213583fff171003140ffdd8 (diff) |
Update README.md
In the Elm section, added instruction to install elm package prior to elm make src/elm/Main.elm --output src/static/bundle.js.
-rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -146,7 +146,13 @@ main = text "Hello Electron. I'm Elm." ``` -Now let's turn this Elm code into javascript. Elm will also install some packages. +Now let's turn this Elm code into javascript. +First, install elm package using: + +``` +sudo npm install -g elm +``` +Once installed, issue "elm make" command below that will turn the Elm code into javascript. Elm will also install some packages. ``` $ elm make src/elm/Main.elm --output src/static/bundle.js |