diff --git a/main.js b/main.js index b5e8b94..f537c4e 100644 --- a/main.js +++ b/main.js @@ -10,4 +10,13 @@ if (process.env.NODE_ENV === "development") { } const root = document.querySelector("#app div"); -const app = Elm.Main.init({ node: root, flags: { word: "three" } }); +Elm.Main.init({ + node: root, + flags: { + /** + * update the value of the word. Optionally, remove the flag. + * Designed with flags to take a value from a backend eventually + * */ + word: "three", + }, +});