From 8b7b991e635dc93eaa4105c923975bd48b2e3ce6 Mon Sep 17 00:00:00 2001 From: pimlie Date: Sun, 9 Jun 2019 20:30:00 +0200 Subject: [PATCH] fix: allow _hasMetaInfo to be configurable --- src/shared/mixin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/mixin.js b/src/shared/mixin.js index 1cd0d03..8ec2344 100644 --- a/src/shared/mixin.js +++ b/src/shared/mixin.js @@ -14,6 +14,7 @@ export default function createMixin(Vue, options) { return { beforeCreate() { Object.defineProperty(this, '_hasMetaInfo', { + configurable: true, get() { // Show deprecation warning once when devtools enabled if (Vue.config.devtools && !this.$root._vueMeta.hasMetaInfoDeprecationWarningShown) {