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

feat: remove dependence for @alifd/next #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

youluna
Copy link
Member

@youluna youluna commented Jun 11, 2021

去掉了主题包中对@alifd/next基础组件的直接依赖
优势:

  • 不强制安装基础组件的版本,业务项目中不会有安装多份next的风险(例如用户项目里引用了 @alife/theme-14/index.scss 同时又引用了 @alifd/next)

风险:

  • 如果之前有用户仅引用了主题包(如@alife/theme-14/index.scss),没有引入@alifd/next,会有问题,构建不通过(需要用户手动升级主题包才会发生)

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

Successfully merging this pull request may close these issues.

1 participant