fix: add missing assets to sw to work offline (#139)
This commit is contained in:
parent
2750a7a78c
commit
fa57edbaac
@ -71,6 +71,7 @@ export default defineConfig({
|
|||||||
// https://github.com/antfu/vite-plugin-pwa
|
// https://github.com/antfu/vite-plugin-pwa
|
||||||
VitePWA({
|
VitePWA({
|
||||||
registerType: 'autoUpdate',
|
registerType: 'autoUpdate',
|
||||||
|
includeAssets: ['favicon.svg', 'robots.txt', 'safari-pinned-tab.svg'],
|
||||||
manifest: {
|
manifest: {
|
||||||
name: 'Vitesse',
|
name: 'Vitesse',
|
||||||
short_name: 'Vitesse',
|
short_name: 'Vitesse',
|
||||||
|
Loading…
Reference in New Issue
Block a user