Use Vue.js plugin in Vuex Store module
The cleanest way I found is to import Vue in the store/module and then use the plugin via the Vue prototype.
import Vue from 'vue';
// .. in some logic
Vue.prototype.$dialog.alert('Something went wrong');
The cleanest way I found is to import Vue in the store/module and then use the plugin via the Vue prototype.
import Vue from 'vue';
// .. in some logic
Vue.prototype.$dialog.alert('Something went wrong');