Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PWA themeColor is not picking value from manifest.json file #203

Open
stripathix opened this issue Jan 9, 2019 · 2 comments
Open

PWA themeColor is not picking value from manifest.json file #203

stripathix opened this issue Jan 9, 2019 · 2 comments

Comments

@stripathix
Copy link

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>

@alexandrestein
Copy link

I have the same issue.
Any advise to correct this?

@michaelmano
Copy link

I had this issue,
in your vue.config.js add

...
module.exports = {
  pwa: {
    ...
    themeColor: '#000',
    msTileColor: '#000',
    ...
  },
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants