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

[Feature]: including antd one time. we can use the libarary anywhere. #5407

Closed
NieShiyi opened this issue Feb 20, 2024 · 1 comment
Closed

Comments

@NieShiyi
Copy link

What problem does this feature solve?

I use antd everywhere including many programs in apps and packages. I will install antd everywhere that leadding to a problem of different antd versions. or exporting all antd components after installing in some package.

What does the proposed API look like?

we can install antd directly in global environment. and use it anywhere.

@chenjiahan
Copy link
Member

You can use alias to force all antd resolved to a single version:

https://modernjs.dev/en/configure/app/source/alias.html

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

2 participants