Include more assets in PWA precache
This commit is contained in:
parent
d30cfe857f
commit
be9a85c14e
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ export default defineConfig({
|
|||
tsconfigPaths(),
|
||||
VitePWA({
|
||||
includeAssets: ["Logo.svg", "favicon.ico", "robots.txt", "apple-touch-icon.png"],
|
||||
workbox: {
|
||||
globPatterns: ['**/*.{js,css,html,ico,png,svg}']
|
||||
},
|
||||
manifest: {
|
||||
name: projInfo.title,
|
||||
short_name: projInfo.title,
|
||||
|
|
Loading…
Reference in a new issue