diff options
author | John Omar <me@johnomar.com> | 2016-10-13 13:15:28 -0400 |
---|---|---|
committer | John Omar <me@johnomar.com> | 2016-10-13 13:15:28 -0400 |
commit | 92c0503441147345cce9c2711cf26ae0a7f32005 (patch) | |
tree | 37b4424cad982552d98ce3ea695dc6f532f0bcfe | |
parent | 72411de911a00737c93fe9ef7dc02d6dd23231bc (diff) |
typo
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -257,7 +257,7 @@ var app = Elm.Main.embed(container); ``` This code is mostly the same except you need to require the Main.elm file directly. Run *webpack* -and see what happens. *Error: cannot resolve ... elm/Main ...* or something like that. What its +and see what happens. *Error: cannot resolve ... elm/Main ...* or something like that. What it's saying is that webpack doesn't know how to consume an Elm file. We need a loader to convert the Elm file to a js file. |