vue-learning: 31 - component - assembly 6 between the ways of communication

Vue assembly 6 between the ways of communication

  • Sons communication component prop / $emit
  • Nested component $attrs/$liteners
  • Descendants of this component communication provide / inject
  • Component instance references $root/ $parent/ $children/$refs
  • Event Bus const Bus = new Vue()
  • State Manager Vuex

Click on the link to view Reference: https: //mp.weixin.qq.com/s/xNlZ8gextPWABguwOtqE3Q
click on the link to view Reference: https: //blog.csdn.net/zhoulu001/article/details/79548350

Guess you like

Origin www.cnblogs.com/webxu20180730/p/11031265.html