0👍
Since you’re concerned (and with good reason) about the globalness of a global event bus, the solution is a localized event bus. Create a data item in the parent:
panelBus: new Vue()
and pass it to each of the children as a prop. Now they have a private communcation channel for just the two of them.
- [Vuejs]-How to return vue.js 'Created' value
- [Vuejs]-How to detect changes made in the edited field in Vue?
Source:stackexchange.com