fix: SSR 迁移后 pwa 图标显示问题 #499

This commit is contained in:
tim
2025-08-12 00:37:33 +08:00
parent 98d85a0573
commit fb7d134b27
8 changed files with 33 additions and 0 deletions

View File

@@ -22,6 +22,19 @@ export default defineNuxtConfig({
},
],
link: [
{
rel: 'icon',
type: 'image/x-icon',
href: '/favicon.ico',
},
{
rel: 'apple-touch-icon',
href: '/apple-touch-icon.png',
},
{
rel: 'manifest',
href: '/manifest.webmanifest',
},
{
rel: 'stylesheet',
href: 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css',