Hi Guys, I'm not quite sure how to do this, I'm very new to Vue, how can I send my data from NewDeal
component to DealsTable
component? As you can see NewDeal
has two parent components. I've read about $emit and $on, but just want to confirm if do I really need to do it like newDeal -> QuickActions -> SideBar
? And I am not sure how to go from there if what I'm thinking is correct. I hope you can shed some light on me.
I've tried emitting an event from NewDeal
component and listening it from the DealsTable
component but didn't work, I am not sure if this is possible, or it should really be that the child is a direct descendant of the parent?
Thanks!