README
toast
A simple toast in vue
examples
main.js
import toast from '@o-ui/toast'
Vue.use(toast)
components
this.$toast('Lorem ipsum dolor sit amet')
this.$toast({
message: 'Lorem ipsum dolor sit amet',
duration: 3000
}).then(() => {
console.log('toast')
})