首页 > 移动平台 > 详细

render: h=>h(app) 中h表示什么?

时间:2021-04-20 09:15:26      阅读:19      评论:0      收藏:0      [点我收藏+]
new Vue({
  router,
  store,//store是属于vuex的实例化对象
  render: h => h(App)
}).$mount(‘#app‘)

render: h=> h(App);

render:function(createElement){

  return createElement(App)

}

 

render:createElement = > createElement (APP);

这里h就表示createElement;

 

render: h=>h(app) 中h表示什么?

原文:https://www.cnblogs.com/tianping-ondo/p/14679325.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!