I’ve been trying for several days to configure a PWA in my project. I’m almost there. According to the Lighthouse audit I still have to solve one issue:
But everything is there:
- service-worker registration (layout default.njk)
Lastly i have configured the service-worker via the webpack.mix.js file
following these steps: https://medium.com/codefield-community/laravel-pwa-from-webpack-mix-js-11c313d5d918
But one more time my PWA is installable in Android and iOS devices but with no caching.
And always the same Lighthouse issue:
Does not register a service worker that controls page and
I’m a little bit lost…
Could you help me.