fix(pwa): improvements to the PWA configuration
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
2e08aa2573
commit
04c5ac1163
@ -19,11 +19,10 @@ export default defineConfig(({ command }) => {
|
||||
plugins: [
|
||||
vue(),
|
||||
VitePWA({
|
||||
// registerType: "autoUpdate",
|
||||
registerType: "autoUpdate",
|
||||
strategies: "injectManifest",
|
||||
srcDir: "src",
|
||||
filename: "service-worker.ts",
|
||||
theme_color: "#ffd599",
|
||||
// injectRegister: "auto",
|
||||
// devOptions: {
|
||||
// enabled: true,
|
||||
@ -32,6 +31,7 @@ export default defineConfig(({ command }) => {
|
||||
name: "Mobilizon",
|
||||
short_name: "Mobilizon",
|
||||
orientation: "portrait-primary",
|
||||
theme_color: "#ffd599",
|
||||
icons: [
|
||||
{
|
||||
src: "./img/icons/android-chrome-192x192.png",
|
||||
|
Loading…
Reference in New Issue
Block a user