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: {
manifest: {
lang: "en",
},
meta: {
/* meta options */
name: "Mealie",
@ -292,6 +289,7 @@ export default {
ogSiteName: "Mealie",
},
manifest: {
lang: "en",
name: "Mealie",
title: "Mealie",
background_color: "#FFFFFF",
@ -303,6 +301,10 @@ export default {
text: "recipe_import_url",
},
},
workbox: {
/* workbox options */
skipWaiting: "true",
},
},
icons: [
{