add few things in manifest.json

This commit is contained in:
2022-11-17 06:28:43 +01:00
parent bb718b7c8d
commit b77373eef5

View File

@@ -21,11 +21,14 @@ export default defineConfig({
}, },
manifest: { manifest: {
start_url: '/',
scope: '/',
display: 'standalone',
name: packageJson.name, name: packageJson.name,
short_name: packageJson.name, short_name: packageJson.name,
description: packageJson.description, description: packageJson.description,
theme_color: '#7ACED7',
background_color: '#282C34', background_color: '#282C34',
theme_color: '#7ACED7',
id: '/', id: '/',
shortcuts : [ shortcuts : [
{ {
@@ -33,7 +36,7 @@ export default defineConfig({
url: '/', url: '/',
description: 'Main view of app', description: 'Main view of app',
icons: [ 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', url: '/settings',
description: 'Settings view', description: 'Settings view',
icons: [ 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' },
], ],
}, },
], ],