add vitejsPWA
This commit is contained in:
@@ -10,6 +10,21 @@ export default defineConfig({
|
||||
refresh: true,
|
||||
}),
|
||||
react(),
|
||||
VitePWA({ registerType: 'autoUpdate' })
|
||||
VitePWA({
|
||||
registerType: 'autoUpdate',
|
||||
manifest: {
|
||||
name: 'Bermite',
|
||||
short_name: 'Bermite',
|
||||
description: 'Une application de suivi météo',
|
||||
theme_color: '#ffffff',
|
||||
icons: [
|
||||
{
|
||||
src: 'images/weather.png',
|
||||
sizes: '521x512',
|
||||
type: 'image/png',
|
||||
}
|
||||
]
|
||||
}
|
||||
})
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user