We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when the mode is offline, for Every page I wanted to redirect to offline page (pages/offline.vue) below is my existing pwa configuration
pwa: { strategies: 'generateSW', injectRegister: 'auto', registerType: 'autoUpdate', manifest: { name: "Testing web app BETA", short_name: "Testing web app BETA", start_url: "/?pwa", scope: "/", icons: [ { src: "maskable_icon.png", sizes: "384x384", type: "image/png", purpose: "maskable" }, { src: "android-chrome-192x192.png", sizes: "192x192", type: "image/png", purpose: "any" }, { src: "android-chrome-256x256.png", sizes: "256x256", type: "image/png" }, { src: "icon.png", sizes: "512x512", type: "image/png" } ], theme_color: "#245BA7", background_color: "#000000", display: "standalone" }, workbox: { navigateFallback: '/offline', globPatterns: ['**/*.{js,css,html,png,PNG,svg,jpg,JPG,jpeg}'], }, devOptions: { enabled: true, type: "module", navigateFallback: '/', } }
Can anybody help ?
The text was updated successfully, but these errors were encountered:
Try adding navigateFallbackAllowlist: [/^\/offline$/] to workbox entry
navigateFallbackAllowlist: [/^\/offline$/]
Sorry, something went wrong.
No branches or pull requests
when the mode is offline, for Every page I wanted to redirect to offline page (pages/offline.vue)
below is my existing pwa configuration
Can anybody help ?
The text was updated successfully, but these errors were encountered: