Skip to content

Commit

Permalink
fix: Missing mitt.js in vue 3 instance of app (#9596)
Browse files Browse the repository at this point in the history
  • Loading branch information
fayazara committed Jun 5, 2024
1 parent bff19eb commit 88e4d9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/javascript/packs/v3app.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import App from '../v3/App.vue';
import router, { initalizeRouter } from '../v3/views/index';
import store from '../v3/store';
import FluentIcon from 'shared/components/FluentIcon/DashboardIcon';
import { emitter } from '../shared/helpers/mitt';

Vue.config.env = process.env;

Expand Down Expand Up @@ -45,11 +46,11 @@ Vue.use(VueRouter);
Vue.use(VueI18n);
Vue.use(Vuelidate);
Vue.use(AnalyticsPlugin);
Vue.prototype.$emitter = emitter;
Vue.component('fluent-icon', FluentIcon);

const i18nConfig = new VueI18n({ locale: 'en', messages: i18n });

window.bus = new Vue();
initializeChatwootEvents();
initializeAnalyticsEvents();
initalizeRouter();
Expand Down

0 comments on commit 88e4d9f

Please sign in to comment.