Check out this simple shopping cart demo:
http://plnkr.co/edit/CHt2iNSRJAJ6OWs7xmiP?p=preview
A user can pick a veggie and a fruit, and it will be added into
You can put the method in your root Vue instance and then dispatch an event from the child instance when a veggie is selected, or when a fruit is selected. Events look for a handler on their parent component, and if they don't find an event handler they keep going up the chain until they do. So on your root instance:
events: {
'choose-fruit':function(fruit){
//handle the choosing of fruit
}
}
Then on the child instance:
selectFruit: function(product){
this.$dispatch('choose-fruit', product);
}