vue js store global data from parent to multiple child code example
Example: vuejs events 2 levels out
Root //but you listen to the event up here 1 level above
Component 1 //you should listen to the event here
Component 2 //your try to emit it from here