feat: 更新应用图标,版本号提升至 0.0.4,移除旧的 favicon.svg 文件

This commit is contained in:
2026-01-15 06:20:21 +07:00
parent aac53793ba
commit e9fc86b956
5 changed files with 12 additions and 35 deletions

View File

@@ -22,21 +22,15 @@ export default defineNuxtConfig({
start_url: "/",
icons: [
{
src: "/favicon.svg",
sizes: "512x512",
type: "image/svg+xml",
purpose: "any",
},
{
src: "/favicon.svg",
src: "/riwsan.png",
sizes: "192x192",
type: "image/svg+xml",
type: "image/png",
},
],
},
workbox: {
navigateFallback: "/",
globPatterns: ["**/*.{js,css,html,png,svg,ico}"],
globPatterns: ["**/*.{js,css,html,png,svg,ico,jpg}"],
cleanupOutdatedCaches: true,
runtimeCaching: [
{
@@ -122,7 +116,7 @@ export default defineNuxtConfig({
{ name: "description", content: "Riwa App 下载 - iOS, Android, H5" },
],
link: [
{ rel: "icon", type: "image/svg+xml", href: "/favicon.svg" },
{ rel: "icon", type: "image/png", href: "/riwsan.png" },
],
},
},