From db392a2c155c8a33a210cb0165fc25f61fc5f05a Mon Sep 17 00:00:00 2001 From: Kunjan Dalal Date: Tue, 9 Apr 2024 10:09:00 +0530 Subject: [PATCH] icons added --- vite.config.ts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index 94ebd74..b306504 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -12,6 +12,31 @@ export default defineConfig({ workbox: { globPatterns: ['**/*.{js,css,html,ico,png,svg,jpg,jpeg,json}'], }, + manifest: { + name: "React PWA", + short_name: "React PWA", + theme_color: "#000000", + background_color: "#ffffff", + display: "standalone", + start_url: ".", + icons: [ + { + src: "/pwa-64x64.png", + sizes: "64x64", + type: "image/png", + }, + { + src: "/pwa-192x192.png", + sizes: "192x192", + type: "image/png", + }, + { + src: "/pwa-512x512.png", + sizes: "512x512", + type: "image/png", + }, + ], + }, devOptions: { enabled: true, },