Why and How To Create an Event Bus in Vuejs 3

Since I’m working on the 2.0 version of my product’s UI (to be released in May), I’m publishing some technical tricks I learned from migrating my application from Vuejs 2 to Vuejs 3.

The current version of the Inspector frontend application uses a global event bus. It’s needed to make the root component of the application (App.vue) aware of some particular events fired inside the component chain.

CategoriesUncategorized