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

业务组件和普通组件的区别是什么 #231

Open
little-yaonv opened this issue Jan 14, 2025 · 2 comments
Open

业务组件和普通组件的区别是什么 #231

little-yaonv opened this issue Jan 14, 2025 · 2 comments

Comments

@little-yaonv
Copy link

请问业务组件和普通组件的区别是什么

@wwsun
Copy link
Contributor

wwsun commented Jan 15, 2025

  1. 每个业务组件都是独立加载的(npm install 安装,或 umd 异步载入)
  2. 基础组件是通过组件包统一载入的(例如 antd,一个组件包提供多个组件),只能通过 umd 统一异步载入

@little-yaonv
Copy link
Author

little-yaonv commented Jan 15, 2025 via email

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

No branches or pull requests

2 participants