You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But that doesn't work (tries to call http://localhost:3000/~/node_modules/workbox-cdn/workbox/workbox-sw.js?1645685080049). Do I need to copy the contents of ~/node_modules/workbox-cdn/workbox to the static directory? Or is there another/more official way?
The text was updated successfully, but these errors were encountered:
I'm relatively new to Nuxt, and stumbled across this module, which works just fine so far.
However, for reasons (GDPR, ...) I would like to self-host Workbox, rather than using a remote CDN.
I found this documentation: https://pwa.nuxtjs.org/workbox#workboxurl
So I've installed the
workbox-cdn
package. But now, I'm stuck. What I tried was:But that doesn't work (tries to call
http://localhost:3000/~/node_modules/workbox-cdn/workbox/workbox-sw.js?1645685080049
). Do I need to copy the contents of~/node_modules/workbox-cdn/workbox
to the static directory? Or is there another/more official way?The text was updated successfully, but these errors were encountered: