This is a quick example of how to use a global event bus to your advantage with vue-geb.
I use a global event bus mainly to split my UI interaction and my application state.
You can easily plug and play any UI lib using its own event bus.
You wont have to Add any binding or actions to your components.
Moreover you can use it with or without app state libraries.
This modal can be called from anywhere by any means thanks to the global event bus.
2 implementation possibilities are shown:
The main goal of vue-geb is to make it as easy as possible to trigger Ui action.
You can call it from anywhere and emit event whenever you want :)
Enjoy !