1π
β
Iβve been using workbox with same stack (Laravel + VueJS) and it worked like a charm. Apart from that I donβt remember this to be extremely difficult or something similar.
Just installed workbox, add the js reference on the html and not much more, as it is js in the end, once you change your SW the npm run watch will build/reload the app.js and it should work.
Hope it helps
π€oscarmlage
Source:stackexchange.com