|
@@ -459,7 +459,7 @@ function unifyObjectStyle (type, payload, options) {
|
|
}
|
|
}
|
|
|
|
|
|
export function install (_Vue) {
|
|
export function install (_Vue) {
|
|
- if (Vue) {
|
|
|
|
|
|
+ if (Vue && _Vue === Vue) {
|
|
if (process.env.NODE_ENV !== 'production') {
|
|
if (process.env.NODE_ENV !== 'production') {
|
|
console.error(
|
|
console.error(
|
|
'[vuex] already installed. Vue.use(Vuex) should be called only once.'
|
|
'[vuex] already installed. Vue.use(Vuex) should be called only once.'
|