feat: 更新应用图标,版本号提升至 0.0.4,移除旧的 favicon.svg 文件
This commit is contained in:
@@ -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" },
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user