example.io:Service Worker API 的示例用例

时间:2021-06-02 21:29:44
【文件属性】:
文件名称:example.io:Service Worker API 的示例用例
文件大小:12KB
文件格式:ZIP
更新时间:2021-06-02 21:29:44
JavaScript Example.io 用于测试 ServiceWorker API 不同用例的示例应用程序。 目前最好的解决方案是基于模块生成单独的 service worker 文件。 设置 确保你之前安装了 Node.js 和 NPM。 npm install 生成缓存资源,从dist目录提供。 gulp 运行服务器: node server.js
【文件预览】:
example.io-master
----public()
--------index.html(578B)
--------js()
--------font-cache.html(11B)
--------css()
--------my-sw-index.html(326B)
--------test.html(195B)
----server.js(592B)
----gulpfile.js(3KB)
----LICENSE(1KB)
----.gitignore(21B)
----readme.md(421B)
----package.json(564B)

网友评论