Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

已经引入了整个antdv 但是报Unknown element: <a-transfer>的错误 #2021

Closed
summerzi opened this issue Apr 4, 2020 · 4 comments
Closed
Labels

Comments

@summerzi
Copy link

summerzi commented Apr 4, 2020

我用了ant design pro vue 来搭建后台系统,看了代码就引入了ant 的所有组件。用其他组件都正常,但是用了 组件,就会报
‘Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.’的错误,在node_modules/ant-design-vue 下面是有Transfer的,现在想咨询下有可能是什么问题?谢谢

@close-issue-app
Copy link

Your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue, thank you!

为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 issue 助手 来创建 issue 以方便我们定位错误。谢谢配合!

@magicpal
Copy link

magicpal commented Jul 3, 2020

请问问题解决了吗

@winyh
Copy link

winyh commented Jul 15, 2020

单独引入:
import { Transfer } from 'ant-design-vue'

注册:
components: {
...,
ATransfer: Transfer
},

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants