Open samit4me opened 1 year ago
Any updates?
Any updates?
I couldn't get it working so stuck with the options api
I ended up using the normal plugin registration:
Vue.use(Toast, options);
and then referenced the instance to my utils/toast.js
:
import Vue from "vue";
export default Vue.$toast;
and use it as usual:
import toast from "~/utils/toast";
toast.success("It worked!");
any updates in the foreseeable future?
Versions
Describe the bug
When attempting to use vue-toastification with Vue 2.7.0+ the composition api doesn't appear to work due to Vue 2 now having the Composition API built-in.
Expected behavior
Instead of breaking the build, it should work without throwing errors
Steps to reproduce
Reproduction demo. Steps:
Your Environment
Additional context