aboutsummaryrefslogtreecommitdiff
path: root/test/example/index.html
blob: baaf9ed723b67c43bc445321ee83c2c9752ff3dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <script type="module">
        // `example` is set up as an alias in our `package.json` to point to
        // some of Gleam's build artifacts.
        import { main } from 'example/main.mjs'

        document.addEventListener('DOMContentLoaded', main)
    </script>
</head>

<body>
    <div data-lustre-container></div>
</body>

</html>