mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-25 07:30:46 +08:00
fix: SSR 迁移后 pwa 图标显示问题 #499
This commit is contained in:
@@ -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',
|
||||
|
||||
BIN
frontend_nuxt/public/favicon.ico
Normal file
BIN
frontend_nuxt/public/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 116 KiB |
BIN
frontend_nuxt/public/icon-120.png
Normal file
BIN
frontend_nuxt/public/icon-120.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.4 KiB |
BIN
frontend_nuxt/public/icon-152.png
Normal file
BIN
frontend_nuxt/public/icon-152.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.9 KiB |
BIN
frontend_nuxt/public/icon-180.png
Normal file
BIN
frontend_nuxt/public/icon-180.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
BIN
frontend_nuxt/public/icon-192.png
Normal file
BIN
frontend_nuxt/public/icon-192.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
BIN
frontend_nuxt/public/icon-512.png
Normal file
BIN
frontend_nuxt/public/icon-512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
20
frontend_nuxt/public/manifest.webmanifest
Normal file
20
frontend_nuxt/public/manifest.webmanifest
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "OpenIsle",
|
||||
"short_name": "OpenIsle",
|
||||
"start_url": "/",
|
||||
"display": "standalone",
|
||||
"background_color": "#ffffff",
|
||||
"theme_color": "#ffffff",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/icon-192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/icon-512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user