Skip to content

Testing Nuxt 3 with @vite-pwa/nuxt and ssr: true for different browsers

Notifications You must be signed in to change notification settings

mircoToebel/nuxt3-pwa-ssr-browser-test

Repository files navigation

Issue reported to @vite-pwa/nuxt

The issue reported is about the different behavior of the PWA functionality when running on Chrome (both Windows desktop and Android) and Samsung Internet browsers.

In app.vue, is enclosed in a component. With this setting, it's possible to install the PWA app on Chrome, but not on Samsung Internet browsers. When is moved outside the component, the PWA app can be installed on Samsung Internet browsers, but not on Chrome.

In the index page, it can be checked whether the event beforeinstallprompt has arrived or not.

To test the behavior, a certificate is needed and the script 'start-prod-https' in package.json needs to be set accordingly. Then, run npm run start-prod-https.

About

Testing Nuxt 3 with @vite-pwa/nuxt and ssr: true for different browsers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published