‘ ’
7
‘ ’
7
.
.
.
Although not strictly associated with the MVVM pattern, Vue’s design was partly inspired by it.
https://vuejs.org/v2/guide/instance.html
data
function
function
methods props
computed
‘sharedPropertyDefinition’
proxy
function
methods props
computed
‘sharedPropertyDefinition’
proxy
root data
__ob__
__ob__
Array item
Observer
__ob__
Array item
Observer
Reactive property
Watcher
updateComponent
Rendering
@vue/vue-template-compiler
Deep dive into Vue.js