instance

Estimated reading time: 1 minute

vue instance

let vm = new Vue({
  // code
})
  • vm means "view model"

  • Instance Properties

instance instance instance
vm.$data vm.$el vm.$props
vm.$options vm.$parent vm.$root
vm.$children vm.$slots vm.$refs
vm.$scopedSlots vm.$server vm.$attr
  • Instance lifecycle
instance instance instance instance
vm.$mount() vm.$forceUpdate() vm.$nextTick() vm.$destroy()

resources

vue, vusjs