fix(pwa): 修复 manifest.json 未被引用导致浏览器无法识别 PWA (#640)

在 index.html 中添加 manifest 引用,并补全 PWA 必需字段
This commit is contained in:
alger
2026-04-10 23:05:27 +08:00
parent 03b52cd6e2
commit 8e3e4e610c
2 changed files with 8 additions and 1 deletions
+1
View File
@@ -25,6 +25,7 @@
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="manifest" href="/manifest.json" />
<!-- 资源预加载 -->
<link rel="preload" href="./assets/icon/iconfont.css" as="style" />