diff options
| author | Jan Tuomi <jan.tuomi@valuemotive.com> | 2021-10-29 16:52:15 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan.tuomi@valuemotive.com> | 2021-10-29 16:52:15 +0300 |
| commit | e500394ed975055657fde19d3cd1c106888734b5 (patch) | |
| tree | 56990da5fd026bc6321fef3bba113b0e486cc216 /src/index.html | |
| parent | a972058d20b773f4488df51babb40156c5a335e1 (diff) | |
Implement stuff
Diffstat (limited to 'src/index.html')
| -rw-r--r-- | src/index.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/index.html b/src/index.html new file mode 100644 index 0000000..ccf508a --- /dev/null +++ b/src/index.html @@ -0,0 +1,22 @@ +<html> + +<head> + <meta charset="UTF-8"> + <title>Main</title> + <link rel="stylesheet" href="main.css"> + </link> + <script src="main.js"></script> +</head> + +<body> + <div id="app"></div> + <script> + var app = Elm.Main.init({ + node: document.getElementById("app") + }); + + app.ports.showAlert.subscribe((message) => window.alert(message)); + </script> +</body> + +</html>
\ No newline at end of file |
