Hey,
I'm working on a SSR website and keep having issues with duplicated meta tags. As you can see on the screenshot below, nuxt generate two title tags.
I use nuxt head()
method and hid
attribute to override defaults tags on my article page, but the two meta tags are being used.
In nuxt.config.js : <img width="439" alt="capture d ecran 2018-02-26 a 14 24 43" src="https://user-images.githubusercontent.com/4067686/36672788-e3965454-1b00-11e8-92c4-c862300de73e.png">
In videos/_slug.vue : <img width="565" alt="capture d ecran 2018-02-26 a 14 22 56" src="https://user-images.githubusercontent.com/4067686/36672727-a7448f98-1b00-11e8-99f5-ea1a8953654a.png">
Oh, and if I remove default title and description from nuxt.config.js
, nuxt is using the title from package.json
As anyone faced the same issue ? Or maybe I'm using nuxt head method wrong ?
Thanks in advance for your help !
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2521">#c2521</a>)</em></sub></div>