Closed sstenn closed 4 years ago
@sstenn
You can add an id
attribute
https://github.com/ktquez/vue-head#replace-content-the-elements
I closed the issue, but if you still have questions, just open again, ok?
Issue is solved. Thanks for your response
~@ktquez I'm getting this on an added style
tag - I have an ID set but it's not removing the old tag. Does this replace only work for some elements?~
Sorry, false alarm. It's Webpack messing around!
I use the
updateHead
function to change the meta data when the language is changed. But instead of updating the currentmeta
, the tags get added.I use a mixin to set the meta and watch the language state:
The watch function is triggered when the language is changed. And as I said, the meta is added instead of updated.