pwa
pwa copied to clipboard
PWA themeColor is not picking value from manifest.json file
Even after changing the value of theme_color in the manifest file. On doing dist build index.html still uses default vue color #4DBA87
Manifest file
{
"name": "Application name",
"short_name": "Application name",
"icons": [
{
"src": "./img/icons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "./img/icons/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"start_url": "./index.html",
"display": "standalone",
"background_color": "#3d3d3d",
"theme_color": "#3d3d3d"
}
In index.html after build it still has
<meta name=theme-color content=#4DBA87>
I have the same issue. Any advise to correct this?
I had this issue, in your vue.config.js add
...
module.exports = {
pwa: {
...
themeColor: '#000',
msTileColor: '#000',
...
},
...