feat: add PWA support

This commit is contained in:
jianjian.ma
2023-03-27 17:41:44 +08:00
parent b1f27aaf93
commit bdf17fafff
3 changed files with 57 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ export default function RootLayout({
href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;700;900&display=swap"
rel="stylesheet"
></link>
<script src="/serviceWorker.js"></script>
</head>
<body>{children}</body>
</html>