-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
25 lines (23 loc) · 770 Bytes
/
Copy pathindex.html
File metadata and controls
25 lines (23 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Serfbound</title>
<link rel="manifest" href="./manifest.webmanifest" />
<meta name="theme-color" content="#12161a" />
<link rel="stylesheet" href="/packages/app/src/styles.css" />
</head>
<body>
<div id="app"></div>
<script type="module">
import { mountSerfbound, registerServiceWorker } from "/packages/app/src/main.ts";
const root = document.querySelector("#app");
if (!(root instanceof HTMLElement)) {
throw new Error("Serfbound root element is missing.");
}
mountSerfbound(root);
registerServiceWorker();
</script>
</body>
</html>