toast not showing
Posted: 11 Dec 2020, 02:59
I followed the documentation but still couldn't get toast to work.
mitt is installed.
has app.use(ToastService)
Then import Toast and tried to call $toast on mounted
It looks like it gets called but nothing is shown on the screen.
mitt is installed.
has app.use(ToastService)
Then import Toast and tried to call $toast on mounted
Code: Select all
mounted() {
this.$toast.add({
severity: 'success',
summary: 'Info message',
detail: 'Message content',
life: 3000,
group: 'bl'
})
}