diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2019-06-14 20:09:05 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-06-14 20:09:05 +0200 |
commit | 77afa6c085443ddc8c667d97ba1f5e1f4827190e (patch) | |
tree | a536de0c18602549cd8f1fc1bebc0f1621339157 | |
parent | 8d71dfe26e9f1cfb5a7043555364fe39982fddd5 (diff) |
You need to run elm init firstelm-init
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |