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;
2023-10-19 11:38:52
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;