service worker: use injectManifest
- a RPC framework is added for further use - fix an error that the service worker is not registered until the settings opened - added theme-color - settings: added a item to indicate the offline availablity
This commit is contained in:
parent
3ea7072437
commit
559a352bc1
11 changed files with 341 additions and 19 deletions
|
@ -24,6 +24,7 @@
|
|||
"vite-plugin-pwa": "^0.20.5",
|
||||
"vite-plugin-solid": "^2.10.2",
|
||||
"vite-plugin-solid-styled": "^0.11.1",
|
||||
"workbox-build": "^7.1.1",
|
||||
"wrangler": "^3.78.2"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -49,7 +50,9 @@
|
|||
"solid-js": "^1.8.22",
|
||||
"solid-styled": "^0.11.1",
|
||||
"stacktrace-js": "^2.0.2",
|
||||
"web-animations-js": "^2.3.2"
|
||||
"web-animations-js": "^2.3.2",
|
||||
"workbox-core": "^7.1.0",
|
||||
"workbox-precaching": "^7.1.0"
|
||||
},
|
||||
"packageManager": "bun@1.1.21"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue