testing with vue mixings and components

This commit is contained in:
vabene1111
2021-01-07 23:58:04 +01:00
parent 4b719af4e1
commit 9044f9e1ff
2 changed files with 22 additions and 11 deletions

View File

@@ -0,0 +1,12 @@
let toast_mixin = Vue.mixin({
methods: {
makeToast: function (title, message, variant = null) {
this.$bvToast.toast(message, {
title: title,
variant: variant,
toaster: 'b-toaster-top-center',
solid: true
})
}
}
})