You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.
When using with target:static multiple meta tags are duplicated in my generated html files.
E.g. lang, charset, language, viewport, ... all meta tags, that modules.js are handled during generate() as "without content"
Investigating the issue I found, that this is a "problem" with vue-meta.
when vue-meta is refreshing the metas it removes duplicates only based on the given hid
If there is no hid set, then it is possible, that a single meta value is added multiple times.
Proposed fix
Adding hid based on meta.id when generating the metas so that vue-metas filtering works as expected.
When using with
target:static
multiple meta tags are duplicated in my generated html files.E.g.
lang
,charset
,language
,viewport
, ... all meta tags, thatmodules.js
are handled duringgenerate()
as "without content"Investigating the issue I found, that this is a "problem" with
vue-meta
.when
vue-meta
is refreshing the metas it removes duplicates only based on the givenhid
If there is no
hid
set, then it is possible, that a single meta value is added multiple times.Proposed fix
Adding
hid
based onmeta.id
when generating the metas so thatvue-meta
s filtering works as expected.I'll prepare a PR
The text was updated successfully, but these errors were encountered: