yarn
yarn nuxt dev
- Clear site data for
localhost:3000
in your browser, or use incognito mode. - Open a new tab.
- Open dev tools in the same tab and go to Application -> Service Workers.
- Open http://localhost:3000/dev in the same tab.
- Observe that it shows "dev" on the page.
- Observe that the service worker gets installed.
- Click the address bar, don't change the URL, and press enter.
- Observe the bug: Get redirected to http://localhost:3000/ and see "index" instead of "dev" on the page.
- Unregister the service worker.
- Change the address back to http://localhost:3000/dev and press enter.
- Repeat from step 7 ...
-
Notifications
You must be signed in to change notification settings - Fork 0
rudolfbyker/repro-nuxt-pwa-dev-mode
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Reproduction for Nuxt PWA bug in development mode
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published