News for hackers. Stuff that matters.
Re:Vue.js: JavaScript MVVM made simple by EvanYou on Monday February 03, 2014 @09:19AM (#7170689)
$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.

There are no comments on this comment yet.