-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
40 lines (39 loc) · 1.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Vocab</title>
<script src="https://unpkg.com/[email protected]/min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/localforage.js"></script>
<link rel="stylesheet" href="src/normalize.css" />
<link href="src/root.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Indie+Flower|PT+Sans|PT+Serif:400,700" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-36806908-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-36806908-2');
</script>
</head>
<body>
<vocab-app></vocab-app>
<script type="module" src="./src/index.js"></script>
<script>
if ('serviceWorker' in navigator) {
navigator
.serviceWorker
.register('./sw.js')
.catch(err => {
console.warn(
'Could not register ServiceWorker. The app will not work offline.'
);
console.error(err);
});
}
</script>
</body>
</html>