• index.js

  • Register the ServiceWorker

    navigator.serviceWorker.register('service-worker.js', {
      scope: '.'
    })

Has it been useful?

Tell us what you think of this recipe by leaving a comment!