Open shahzaibanwar009 opened 5 years ago
That should make it:
miniToastr.init();
const toast = ({ title, message, type, timeout, cb }) => (
miniToastr[type](message, title, timeout, cb)
);
const options = {
success: toast,
error: toast,
info: toast,
warn: toast,
};
Vue.use(VueNotifications, options);
https://github.com/se-panfilov/vue-notifications#all-together
config with miniToaster in nuxt app I installed vue-notification plugin and configured it.it is working fine i wanna add mini-toaster how to setup mini-toaster