Vue.js —Simple event bus for cross component communication
Vue 2 is pretty strict about communication between components. The standard way to communicate between components is for parents to pass props down to children, and for children to $emit events up to the parent component. You…