1.1.3 • Published 5 years ago
samaneventbus v1.1.3
eventbusplugin Vue Plugin for custom event
How to install
npm i samaneventbus
How to use
import samaneventbus from 'samaneventbus'
Vue.use(samaneventbus)trigger event
this.$eventbus.$emit("test")use event
mounted () {
this.$eventbus.$on("test", ()=> {
console.log("test")
});
}