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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,15 @@
2
2
3
3
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
* accept and pass options as second arg for generate ([2ce5177](https://github.com/nuxt/vue-meta/commit/2ce5177))
11
+
* still traverse children when metainfo doesnt return object ([#469](https://github.com/nuxt/vue-meta/issues/469)) ([35b7099](https://github.com/nuxt/vue-meta/commit/35b7099))
12
+
* try to detect global mixins adding meta info ([#467](https://github.com/nuxt/vue-meta/issues/467)) ([2231ec1](https://github.com/nuxt/vue-meta/commit/2231ec1))
warn("VueMeta has detected a possible global mixin which adds a ".concat(options.keyName," property to all Vue components on the page. This could cause severe performance issues. If possible, use $meta().addApp to add meta information instead"));
402
+
}
403
+
});
404
+
}
333
405
}// to speed up updates we keep track of branches which have a component with vue-meta info defined
334
406
// if _vueMeta = true it has info, if _vueMeta = false a child has info
335
407
@@ -373,14 +445,18 @@ function createMixin(Vue, options) {
373
445
$root[rootConfigKey].initialized=this.$isServer;
374
446
375
447
if(!$root[rootConfigKey].initialized){
376
-
ensuredPush($options,'beforeMount',function(){
377
-
var$root=this[rootKey];// if this Vue-app was server rendered, set the appId to 'ssr'
378
-
// only one SSR app per page is supported
448
+
if(!$root[rootConfigKey].initializedSsr){
449
+
$root[rootConfigKey].initializedSsr=true;
450
+
ensuredPush($options,'beforeMount',function(){
451
+
var$root=this;// if this Vue-app was server rendered, set the appId to 'ssr'
0 commit comments