johannschopplich / kirby-vue3-starterkit

✨ Kirby + Vue SPA starter: automatic routing, i18n, SEO and more!
MIT License
206 stars 19 forks source link

Blank page after revisiting the demo #7

Closed johannschopplich closed 4 years ago

johannschopplich commented 4 years ago

First encountered by @tchmnn.

johannschopplich commented 4 years ago

This occured since the CONTENT_API_SLUG was added in the current version of the starterkit.

The following note has been added to the README already:

⚠️ Don't change the CONTENT_API_SLUG once you deployed your app publicly and thus a service worker is installed on clients. Otherwise fetch requests will fail and a blank page will show until the new service worker is activated, which then is only possible by closing the tab/PWA.