Open Perdjesk opened 5 months ago
The default value for navigateFallbackAllowlist in devOptions is set to /\//.
navigateFallbackAllowlist
devOptions
/\//
https://github.com/vite-pwa/nuxt/blob/106977993291d2443d52569b335f78e8a03e0a69/src/utils/config.ts#L40-L45
While in vite-plugin-pwa and docs it is set to /^\/$/
/^\/$/
https://github.com/vite-pwa/vite-plugin-pwa/blob/75b4fdc10de1716f44ba8ba3b993bfe02912b171/src/plugins/dev.ts#L167-L169 https://vite-pwa-org.netlify.app/guide/development#type-declarations
Potentially related: https://github.com/vite-pwa/nuxt/issues/77 https://github.com/vite-pwa/nuxt/issues/81 https://github.com/vite-pwa/nuxt/issues/56
The default value for
navigateFallbackAllowlist
indevOptions
is set to/\//
.https://github.com/vite-pwa/nuxt/blob/106977993291d2443d52569b335f78e8a03e0a69/src/utils/config.ts#L40-L45
While in vite-plugin-pwa and docs it is set to
/^\/$/
https://github.com/vite-pwa/vite-plugin-pwa/blob/75b4fdc10de1716f44ba8ba3b993bfe02912b171/src/plugins/dev.ts#L167-L169 https://vite-pwa-org.netlify.app/guide/development#type-declarations
Potentially related: https://github.com/vite-pwa/nuxt/issues/77 https://github.com/vite-pwa/nuxt/issues/81 https://github.com/vite-pwa/nuxt/issues/56