Repository metrics
- Stars
- (2,667 stars)
- PR merge metrics
- (PR metrics pending)
Description
I am trying to include izitoast in my vue js application. And I have declared the plugin in my dev,base and prod conf file. I have included the imports in my main.js file like this import '../node_modules/izitoast/dist/js/iziToast.min.js'
import '../node_modules/izitoast/dist/css/iziToast.css'. And used izitoast in my mounted hook like $(this.$el).find('.addbtn').iziToast.success({ title: 'OK', message: 'Successfully inserted record!', });. I get error "Cannot read property success of undefined"? Can you help with this?
PS: I have also tried using the import izitoast from 'izitoast' and Vue.use(izitoast)