We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.2.0-rc.1
vue3.0.0
https://gitee.com/songlinrong/antd-vue3.0.git
页面回显图标
不显示图标,浏览器显示警告Failed to resolve component: a-icon
The text was updated successfully, but these errors were encountered:
参见文档
Sorry, something went wrong.
@zkwolf 里面是没有icons文件的,按照截图方式引入是找不到icons的。
给你个示例吧如果你vue2里用<a-icon type="home" />的话,vue3需要import HomeOutlined from '@ant-design/icons-vue/HomeOutlined'
<a-icon type="home" />
import HomeOutlined from '@ant-design/icons-vue/HomeOutlined'
btw:文档那个路径好像确实有点问题
给你个示例吧如果你vue2里用<a-icon type="home" />的话,vue3需要import HomeOutlined from '@ant-design/icons-vue/HomeOutlined' btw:文档那个路径好像确实有点问题 谢谢,试过你给的方式,是可以的。
btw:文档那个路径好像确实有点问题 谢谢,试过你给的方式,是可以的。
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.
No branches or pull requests
Version
2.2.0-rc.1
Environment
vue3.0.0
Reproduction link
https://gitee.com/songlinrong/antd-vue3.0.git
Steps to reproduce
What is expected?
页面回显图标
What is actually happening?
不显示图标,浏览器显示警告Failed to resolve component: a-icon
The text was updated successfully, but these errors were encountered: