-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
34 lines (30 loc) · 1.16 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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<meta name="description" content="Vite React & TailwindCSS SPA Starter" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="msapplication-TileColor" content="#333333" />
<meta name="theme-color" content="#333333" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="alternate icon" href="/favicon.ico" type="image/png" sizes="16x16" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180" />
<link rel="mask-icon" href="/favicon.svg" color="#FFFFFF" />
<title>Vite React & TailwindCSS SPA Starter</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<!-- PWA -->
<script>
if ("serviceWorker" in navigator) {
window.addEventListener("load", () => {
navigator.serviceWorker
.register("./serviceWorker.js")
.then((reg) => console.log("serviceWorker success ", reg.scope))
.catch((err) => console.log("serviceWorker error", err));
});
}
</script>
</body>
</html>