mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-08 03:42:24 +03:00
support for client tag updates
This commit is contained in:
@@ -31,5 +31,10 @@ export default function getMetaInfo (component) {
|
||||
info.title = info.titleTemplate.replace(/%s/g, info.titleChunk)
|
||||
}
|
||||
|
||||
// convert base tag to an array
|
||||
if (info.base) {
|
||||
info.base = Object.keys(info.base).length ? [info.base] : []
|
||||
}
|
||||
|
||||
return info
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user