simple toast for vue
npm install vu-toast --save
main.js
import VueToast from 'vu-toast'
Vue.use(VueToast)
helloWorld.vue
this.vtoast(msg, duration, position)
this.vtoast('hello world', 2000, 'top')
the position can be top, center and bottom
MIT