I'm migrating an application from KnockoutJS to VueJS. I'm having difficulty translating a template to a component. It's similar to a tab structure where only 1 item can be active which was controlled using an observable called isActive that I've changed to a ref. When a user clicks on an item I want to loop through the child components in a list on the parent and set the isActive value to false before setting isActive on the clicked item to true.
I have been able to update the clicked item's isActive value but I can't see the isActive ref values on the parent. How can I get the child components and their data from the parent?
I have an example of what the code looks like here. DEMO