I am using Vue 2.6.10 and I have installed vue-toastify 1.8.0 using
npm i vue-toastify
I have added these two lines in main.js file
import VueToastify from "vue-toastify";
Vue.use(VueToastify);
But when I use this.$vToastify.success("easy-peasy"); the IDE is saying that
"Property '$vToastify' does not exist on type 'ChartComponent'. Did you mean '$bvToast'?"
I can use this.$bvToast.toast() which is Bootstrap's toast component but I cannot use this.$vToastify.success()
What I am missing here?
I am using Vue 2.6.10 and I have installed vue-toastify 1.8.0 using
npm i vue-toastify
I have added these two lines in main.js file
But when I use
this.$vToastify.success("easy-peasy");
the IDE is saying that"Property '$vToastify' does not exist on type 'ChartComponent'. Did you mean '$bvToast'?"
I can use this.$bvToast.toast() which is Bootstrap's toast component but I cannot use this.$vToastify.success() What I am missing here?