-
app.js: 前端页面主要js文件 (注册Service Worker、发送ajax请求)
-
server.js: 服务端代码(启动静态服务器,ajax请求响应)
-
sw.js: 自己写的Service Worker
-
workbox.sw.js: 基于workbox缓存策略库的Service Worker(在app.js中将sw.js替换成这个就行)
-
manifest.json 桌面图标配置文件
-
sw-study.js 参考的sw
djlxiaoshi/pwa-study
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published