Why need resolveComponent Api in Vue3?

前端 未结 0 1517
無奈伤痛
無奈伤痛 2021-01-02 13:58

In Vue2.x:

we can use render: (h) => {return h(\'global component name\')};

But in vue3.x:

we need to use render: () => {return h(resolveComponent

相关标签:
回答
  • 消灭零回复
提交回复
热议问题