Created
March 22, 2018 15:12
-
-
Save jacky810124/d3dbf0f6797009a57a320fa076da9e54 to your computer and use it in GitHub Desktop.
PWA Day05 - register service worker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
navigator | |
.serviceWorker | |
.register('/sw.js', { | |
scope: '/app' | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment