Comparing version 1.8.7 to 1.8.8
{ | ||
"name": "@58fe/v5", | ||
"version": "1.8.7", | ||
"version": "1.8.8", | ||
"main": "src/index.js", | ||
@@ -5,0 +5,0 @@ "description": "vue components", |
@@ -1,6 +0,5 @@ | ||
import Vue from 'vue'; | ||
import Alert from './../../components/alert'; | ||
const plugin = { | ||
install(vue, props = {}) { | ||
install(Vue, props = {}) { | ||
const AlertPlugin = Vue.extend(Alert); | ||
@@ -33,12 +32,12 @@ | ||
if (!vue.$v5) { | ||
vue.$v5 = { | ||
if (!Vue.$v5) { | ||
Vue.$v5 = { | ||
alert | ||
}; | ||
} else { | ||
vue.$v5.alert = alert; | ||
Vue.$v5.alert = alert; | ||
} | ||
vue.mixin({ | ||
Vue.mixin({ | ||
created: function () { | ||
this.$v5 = vue.$v5; | ||
this.$v5 = Vue.$v5; | ||
} | ||
@@ -45,0 +44,0 @@ }); |
@@ -1,6 +0,5 @@ | ||
import Vue from 'vue'; | ||
import Confirm from './../../components/confirm'; | ||
const plugin = { | ||
install(vue, props = {}) { | ||
install(Vue, props = {}) { | ||
const ConfirmPlugin = Vue.extend(Confirm); | ||
@@ -39,12 +38,12 @@ | ||
if (!vue.$v5) { | ||
vue.$v5 = { | ||
if (!Vue.$v5) { | ||
Vue.$v5 = { | ||
confirm | ||
}; | ||
} else { | ||
vue.$v5.confirm = confirm; | ||
Vue.$v5.confirm = confirm; | ||
} | ||
vue.mixin({ | ||
created: function() { | ||
this.$v5 = vue.$v5; | ||
Vue.mixin({ | ||
created: function () { | ||
this.$v5 = Vue.$v5; | ||
} | ||
@@ -51,0 +50,0 @@ }); |
@@ -1,6 +0,5 @@ | ||
import Vue from 'vue'; | ||
import Loading from './../../components/loading'; | ||
const plugin = { | ||
install(vue, props = {}) { | ||
install(Vue, props = {}) { | ||
const LoadingPlugin = Vue.extend(Loading); | ||
@@ -23,12 +22,12 @@ | ||
if (!vue.$v5) { | ||
vue.$v5 = { | ||
if (!Vue.$v5) { | ||
Vue.$v5 = { | ||
loading | ||
}; | ||
} else { | ||
vue.$v5.loading = loading; | ||
Vue.$v5.loading = loading; | ||
} | ||
vue.mixin({ | ||
created: function() { | ||
this.$v5 = vue.$v5; | ||
Vue.mixin({ | ||
created: function () { | ||
this.$v5 = Vue.$v5; | ||
} | ||
@@ -35,0 +34,0 @@ }); |
@@ -1,6 +0,5 @@ | ||
import Vue from 'vue'; | ||
import Toast from './../../components/toast'; | ||
const plugin = { | ||
install(vue, props = {}) { | ||
install(Vue, props = {}) { | ||
const ToastPlugin = Vue.extend(Toast); | ||
@@ -33,12 +32,12 @@ | ||
if (!vue.$v5) { | ||
vue.$v5 = { | ||
if (!Vue.$v5) { | ||
Vue.$v5 = { | ||
toast | ||
}; | ||
} else { | ||
vue.$v5.toast = toast; | ||
Vue.$v5.toast = toast; | ||
} | ||
vue.mixin({ | ||
created: function() { | ||
this.$v5 = vue.$v5; | ||
Vue.mixin({ | ||
created: function () { | ||
this.$v5 = Vue.$v5; | ||
} | ||
@@ -45,0 +44,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
247674
5298