Comment by EvanYou
12 years ago
$data has to be an object, but yes you can share data between multiple ViewModels simply by assigning them. Note however this won't create nested scope between the two. To allow the child to get full access to the parent's data you need to compose them with v-component.
No comments yet
Contribute on Hacker News ↗