Skip to content

Instantly share code, notes, and snippets.

@ankitarora05
ankitarora05 / nuxt.config.js
Last active July 30, 2022 23:28
Automatically detect and update new PWA Workbox builds in nuxt.js
plugins: [{src: '@/plugins/pwa-update.js', mode: 'client'}]
pwa: {
workbox: {
cachingExtensions: "@/plugins/workbox-range-request.js",
skipWaiting: true
},
}