For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /framework/vue3/component.md.

组件

对于Vue3的使用者而言,组件就是一个选项对象。

对于渲染器而言,组件是一个特殊类型的VNode,vnode.type是组件定义本身。在渲染器中,组件的渲染是由processComponent函数负责的