master
Scanning / index.html
<!-- Copyright © 2023 Dean Lee -->
<!DOCTYPE HTML>
<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Main</title>
  <style>body { padding: 0; margin: 0; }</style>
</head>

<body>

<div id="app"></div>
<script src="elm.js"></script>
<script>
    var app = Elm.Main.init({
        node: document.getElementById('app'),
        flags: { viewportWidth: window.innerWidth, viewportHeight: window.innerHeight, url: window.location.href }
    });
</script>

</body>
</html>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24