-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (37 loc) · 1.65 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="manifest" href="/manifest.json">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="shortcut icon" href="/favicon.ico?v=2" />
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#f44336">
<meta name="apple-mobile-web-app-status-bar-style" content="#f44336">
<meta name="apple-mobile-web-app-title" content="Pokemon">
<link rel="apple-touch-icon" href="images/icon-192x192.png">
<meta name="msapplication-TileImage" content="images/icons/icon-192x192.png">
<meta name="msapplication-TileColor" content="#f44336">
<title>Pokemons</title>
<link href='https://fonts.googleapis.com/css?family=Roboto:400,700,900' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="dist/style.css" charset="utf-8">
</head>
<body>
<div id="app"></div>
<script type="text/javascript" src="sw.js"></script>
<script type="text/javascript">
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js').then(function(registration) {
// Registration was successful
console.log('ServiceWorker registration successful with scope: ', registration.scope);
}).catch(function(err) {
// registration failed :(
console.log('ServiceWorker registration failed: ', err);
});
}
</script>
<script type="text/javascript" src="dist/storage.js"></script>
<script type="text/javascript" src="dist/bundle.js"></script>
</body>
</html>