[Vuejs]-Update vue-toast-notification library

0👍

do you need create const toast like this:

  const toast = this.$toast.default(
     `<i class="fa fa-cog fa-spin"></i> start`,
      { duration: 0, dismissible: false }
  )

and update like this:

toast.message =`<i class="fa fa-cog fa-spin"></i> Building... ${status}`

after loop:

toast.message =`done!`

Leave a comment