[Vuejs]-Vue-Snotify notification is not showing up

0👍

It seems that you got the methods data type wrong, it needs to be an object and not array.

module.exports = {
  name: "my-fancy-component",

//---------v--- This part
  methods: {
    showNotif: function() {
      console.log(this.$snotify.success('Example body content'))
    }
  },
  ...
}

Leave a comment