Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

参照原文,进行内容补充/删改:src/api/global-api.md #168

Closed
@zhenzhenChange

Description

@zhenzhenChange

内容补充与删改

defineComponent

原文链接:https://v3.vuejs.org/api/global-api.html#definecomponent
补充内容:参数可以是一个 setup 函数,并翻译注释


以下两个删改根据原文仓库的 PR

defineAsyncComponent

原文链接:https://v3.vuejs.org/api/global-api.html#defineasynccomponent
删除内容:删除 retryWhenmaxRetries 选项
补充内容:添加 onError 钩子选项,并翻译注释

resolveComponent

原文链接:https://v3.vuejs.org/api/global-api.html#resolvecomponent
修改内容:参数描述由 component 修改为 name


如有不妥之处,敬请指正~ (#^.^#)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions