feat: 添加 PWA 下载页面和路由配置;更新 PWA 图标设置

This commit is contained in:
2026-01-06 17:11:49 +07:00
parent d2782e1087
commit 10cdf2797c
3 changed files with 259 additions and 13 deletions

View File

@@ -57,20 +57,9 @@ export default defineConfig({
prefer_related_applications: false,
icons: [
{
src: "/pwa-192x192.png",
src: "/favicon.svg",
sizes: "192x192",
type: "image/png",
},
{
src: "/pwa-512x512.png",
sizes: "512x512",
type: "image/png",
},
{
src: "/pwa-512x512.png",
sizes: "512x512",
type: "image/png",
purpose: "any maskable",
type: "image/svg",
},
],
},