0👍
I use the pwa webpack config navigatefallback
to fix this issue please see: https://developers.google.com/web/tools/workbox/modules/workbox-webpack-plugin#generateSW-navigateFallback
Also pwa can fail with history mode enabled on the vue Router:
here are some questions that i think will get you in the right direction:
PWA doesn't load when router is in history mode (Vue CLI 3 based project)
and
- [Vuejs]-How to send mp3 file from Java Backend to frontend and play the file in the Vue.js frontend
- [Vuejs]-Window.addEventListener('load', (event) => {…}); on NuxtLink (nuxt-link) or RouterLink (router-link) click
Source:stackexchange.com