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;
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;