This commit is contained in:
2018-10-19 19:36:41 +00:00
parent bed4899c0b
commit fd9998c978
7 changed files with 263 additions and 9 deletions

9
wwwroot/INPUTsw.js Normal file
View File

@@ -0,0 +1,9 @@
importScripts('https://storage.googleapis.com/workbox-cdn/releases/3.6.1/workbox-sw.js');
if (workbox) {
// console.log(`3 Yay! Workbox is loaded 🎉`);
workbox.precaching.precacheAndRoute([]);
} else {
console.log(`Boo! Workbox didn't load 😬`);
}