-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (45 loc) · 1.75 KB
/
index.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="description"
content="A real-time markdown editor built with Vue." />
<link rel="icon"
href="/markdown.png" />
<link rel="preload"
href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap"
as="style"
onload="this.onload=null;this.rel='stylesheet'" />
<link rel="preload"
href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400&display=swap"
as="style"
onload="this.onload=null;this.rel='stylesheet'" />
<noscript>
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap"
rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400&display=swap"
rel="stylesheet" />
</noscript>
<link rel="manifest"
href="manifest.json">
<meta name="viewport"
content="width=device-width, initial-scale=1.0" />
<title>PrevueMD</title>
</head>
<body>
<div id="app"></div>
<script type="module"
src="/src/main.ts"></script>
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('service-worker.ts')
.then(registration => {
console.log('Service Worker registered with scope:', registration.scope);
})
.catch(error => {
console.error('Service Worker registration failed:', error);
});
}
</script>
</body>
</html>