X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=vue.config.js;h=51a9b90047d0d85393c1f2430ce3d642d93f4fa4;hb=HEAD;hp=3b104f727f2c31603659bd4b0853a40ea37c9e59;hpb=2301d8919c28eb888ea1eb968d03376b2219a27d;p=github%2Fbastienwirtz%2Fhomer.git diff --git a/vue.config.js b/vue.config.js index 3b104f7..51a9b90 100644 --- a/vue.config.js +++ b/vue.config.js @@ -7,7 +7,94 @@ module.exports = { .loader("raw-loader") .end(); }, + publicPath: "", pwa: { - manifestPath: "assets/manifest.json" - } + manifestPath: "assets/manifest.json", + appleMobileWebAppStatusBarStyle: "black", + appleMobileWebAppCapable: "yes", + name: "Homer Dashboard", + short_name: "Homer", + theme_color: "#3367D6", + icons: [ + { + src: "./assets/icons/android-chrome-192x192.png", + sizes: "192x192", + type: "image/png", + }, + { + src: "./assets/icons/android-chrome-512x512.png", + sizes: "512x512", + type: "image/png", + }, + { + src: "./assets/icons/android-chrome-maskable-192x192.png", + sizes: "192x192", + type: "image/png", + purpose: "maskable", + }, + { + src: "./assets/icons/android-chrome-maskable-512x512.png", + sizes: "512x512", + type: "image/png", + purpose: "maskable", + }, + { + src: "./assets/icons/apple-touch-icon-60x60.png", + sizes: "60x60", + type: "image/png", + }, + { + src: "./assets/icons/apple-touch-icon-76x76.png", + sizes: "76x76", + type: "image/png", + }, + { + src: "./assets/icons/apple-touch-icon-120x120.png", + sizes: "120x120", + type: "image/png", + }, + { + src: "./assets/icons/apple-touch-icon-152x152.png", + sizes: "152x152", + type: "image/png", + }, + { + src: "./assets/icons/apple-touch-icon-180x180.png", + sizes: "180x180", + type: "image/png", + }, + { + src: "./assets/icons/apple-touch-icon.png", + sizes: "180x180", + type: "image/png", + }, + { + src: "./assets/icons/favicon-16x16.png", + sizes: "16x16", + type: "image/png", + }, + { + src: "./assets/icons/favicon-32x32.png", + sizes: "32x32", + type: "image/png", + }, + { + src: "./assets/icons/msapplication-icon-144x144.png", + sizes: "144x144", + type: "image/png", + }, + { + src: "./assets/icons/mstile-150x150.png", + sizes: "150x150", + type: "image/png", + }, + ], + iconPaths: { + favicon32: "assets/icons/favicon-32x32.png", + favicon16: "assets/icons/favicon-16x16.png", + appleTouchIcon: "assets/icons/apple-touch-icon-152x152.png", + maskIcon: "assets/icons/safari-pinned-tab.svg", + msTileImage: "assets/icons/msapplication-icon-144x144.png", + }, + }, };