diff --git a/packages/vue-app/template/index.js b/packages/vue-app/template/index.js index 15a2868e09..765c543a35 100644 --- a/packages/vue-app/template/index.js +++ b/packages/vue-app/template/index.js @@ -189,7 +189,7 @@ async function createApp(ssrContext, config = {}) { Vue[installKey] = true // Call Vue.use() to install the plugin into vm Vue.use(() => { - if (!Object.prototype.hasOwnProperty.call(Vue, key)) { + if (!Object.prototype.hasOwnProperty.call(Vue.prototype, key)) { Object.defineProperty(Vue.prototype, key, { get () { return this.$root.$options[key]