I'm having some issues with caching my files using the default service worker that comes with VueCLI 3. I would prefer to just use the default browser caching mechanism, but can't seem to disable the PWA plugin as its not in the vue.config.js
file. Passing a blank object to the pwa
option doesn't work either as the object is merged and not overwritten.
I resolved this by doing the following:
registerServiceWorker.js
fileregisterServiceWorker.js
from main.js
.PWA
plugin from the devDependencies
in package.json
.