shakee93 / vue-toasted

🖖 Responsive Touch Compatible Toast plugin for VueJS 2+
https://shakee93.github.io/vue-toasted/
MIT License
2.21k stars 194 forks source link

Don't work with this.$router.go() #154

Closed alexPouivet closed 4 years ago

alexPouivet commented 4 years ago

Hi,

I use vue-toasted in my Nuxtjs project and I try tu use vue-toasted to show succeed messages for my users. For the delete case I need to reload the page after the delete success, so I use this.$router.go() to do it but it don't work when I try to add vue-toasted like that : error-vue-toasted

is it just not the good implementation or it's not possible to use it ?

I know I can use this.$router.push() but it don't work for reload pages, I already try. Thank you

shakee93 commented 4 years ago

you can add the $toasted call after the $router.go. or in the path component mounted