Got this basic working PWA laravel with serviceworker, manifest...

  • Tried it offline when web finish loaded then turned off webserver and it still on...
  • Tried using ngrok with https add to homescreen works

Followed the tutorial from here, even though its spanish tried to figured it out
https://www.youtube.com/watch?v=ts7jDVikaN4

Source from here
https://justmegareth.com/2017-07-15-progressive-web-app-in-laravel/

Other Repo worth checking out
https://github.com/silviolleite/laravel-pwa*

[Update] I've deleted the example on top because it's not working as expected and it's just to much work.
So the way I do it now is, go to this website https://www.pwabuilder.com/ it will give you instruction on what to add.