A
A
alaskafx2021-09-08 21:03:58
Vue.js
alaskafx, 2021-09-08 21:03:58

VueToast breaks project?

Installed, plugged in and plugged in.

import VueToast from 'vue-toast-notification';
import 'vue-toast-notification/dist/theme-sugar.css';


Vue.use(VueToast)

this.$toast.open({
    message: 'Something went wrong!',
    type: 'error',
    // all of other options may go here
});


And as a result in the console I got:


Uncaught TypeError: (0 , t.createVNode) is not a function


How to decide and why?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question