diff --git a/src/store.js b/src/store.js index 0a540e809..7f479a29d 100644 --- a/src/store.js +++ b/src/store.js @@ -459,7 +459,7 @@ function unifyObjectStyle (type, payload, options) { } export function install (_Vue) { - if (Vue) { + if (Vue && _Vue === Vue) { if (process.env.NODE_ENV !== 'production') { console.error( '[vuex] already installed. Vue.use(Vuex) should be called only once.'