summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-06-14 20:09:05 +0200
committerMatthias Beyer <mail@beyermatthias.de>2019-06-14 20:09:05 +0200
commit77afa6c085443ddc8c667d97ba1f5e1f4827190e (patch)
treea536de0c18602549cd8f1fc1bebc0f1621339157
parent8d71dfe26e9f1cfb5a7043555364fe39982fddd5 (diff)
You need to run elm init firstelm-init
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1ee1221..c5f2331 100644
--- a/README.md
+++ b/README.md
@@ -127,6 +127,10 @@ Glorious.
Now for the fun part. Here's how this goes when electron isn't in the picture.
- write some elm code
+- run `elm init`
+ - elm will ask you to create a `elm.json` file which contains the package
+ defintion for your package. All options should be self-explanatory and you
+ do not need to think about this until later.
- run `elm make Main.elm --output bundle.js` which compiles the elm code into javascript
- import bundle.js into javascript and embed it into a div in your html.