From b77373eef5282e3d10a09b4fd8edd18e465c026c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Ku=C4=87mierz?= Date: Thu, 17 Nov 2022 06:28:43 +0100 Subject: [PATCH] add few things in manifest.json --- vite.config.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/vite.config.js b/vite.config.js index 7d77be0..e8b115f 100644 --- a/vite.config.js +++ b/vite.config.js @@ -21,11 +21,14 @@ export default defineConfig({ }, manifest: { + start_url: '/', + scope: '/', + display: 'standalone', name: packageJson.name, short_name: packageJson.name, description: packageJson.description, - theme_color: '#7ACED7', background_color: '#282C34', + theme_color: '#7ACED7', id: '/', shortcuts : [ { @@ -33,7 +36,7 @@ export default defineConfig({ url: '/', description: 'Main view of app', icons: [ - { src: '/img/shortcut-icons/instacode.svg', sizes: '150x150', type: 'image/svg+xml' } + { src: '/img/shortcut-icons/instacode.svg', sizes: '150x150', type: 'image/svg+xml' }, ], }, { @@ -41,7 +44,7 @@ export default defineConfig({ url: '/settings', description: 'Settings view', icons: [ - { src: '/img/shortcut-icons/settings.svg', sizes: '150x150', type: 'image/svg+xml' } + { src: '/img/shortcut-icons/settings.svg', sizes: '150x150', type: 'image/svg+xml' }, ], }, ],