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

The icon is fully imported after compilation, and the package size is too large #4126

Open
1 task
white-007 opened this issue May 26, 2021 · 1 comment
Open
1 task

Comments

@white-007
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.
    ant-design-vue 2.x版本编译后的@ant-design/icons-vue目录是全量引入,但是使用的时候偶都是按需引入的

What problem does this feature solve?

图标按需引入的

What does the proposed API look like?

图标按需引入的

@github-actions github-actions bot changed the title 图标编译后是全量引入的,包体积过大 The icon is fully imported after compilation, and the package size is too large May 26, 2021
@bunnyxt
Copy link

bunnyxt commented Aug 4, 2021

一个临时的解决方法,亲测有效
#1896 (comment)
ant-design/ant-design#12011 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants