We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 46a9425 + fb6ae27 commit 9d0cf34Copy full SHA for 9d0cf34
template/README.md
@@ -137,7 +137,7 @@ var Elm = require('./App.elm');
137
138
var root = document.getElementById('root');
139
140
-Elm.Main.embed(root, logoPath); // Pass image path as a flag.
+Elm.App.embed(root, logoPath); // Pass image path as a flag.
141
```
142
Later on, you can use the image path in your view for displaying it in the DOM.
143
template/src/index.js
@@ -4,4 +4,4 @@ var Elm = require('./App.elm')
4
5
var root = document.getElementById('root')
6
7
-Elm.Main.embed(root, logoPath)
+Elm.App.embed(root, logoPath)
0 commit comments