fix (possible): PWA white screen (#1526)

Possible fix #1077 on iOS, as referenced in discussion. Should be enabled by default normally..

https://pwa.nuxtjs.org/workbox#skipwaiting
This commit is contained in:
zierbeek 2022-08-04 20:42:41 +02:00 committed by GitHub
parent ea42350244
commit 505e594758
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -281,9 +281,6 @@ export default {
// PWA module configuration: https://go.nuxtjs.dev/pwa // PWA module configuration: https://go.nuxtjs.dev/pwa
pwa: { pwa: {
manifest: {
lang: "en",
},
meta: { meta: {
/* meta options */ /* meta options */
name: "Mealie", name: "Mealie",
@ -292,6 +289,7 @@ export default {
ogSiteName: "Mealie", ogSiteName: "Mealie",
}, },
manifest: { manifest: {
lang: "en",
name: "Mealie", name: "Mealie",
title: "Mealie", title: "Mealie",
background_color: "#FFFFFF", background_color: "#FFFFFF",
@ -303,6 +301,10 @@ export default {
text: "recipe_import_url", text: "recipe_import_url",
}, },
}, },
workbox: {
/* workbox options */
skipWaiting: "true",
},
}, },
icons: [ icons: [
{ {