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

[Discuss] Monorepo 的创建流程优化 #236

Open
LancelotLewis opened this issue Oct 27, 2022 · 0 comments
Open

[Discuss] Monorepo 的创建流程优化 #236

LancelotLewis opened this issue Oct 27, 2022 · 0 comments
Milestone

Comments

@LancelotLewis
Copy link
Collaborator

report by @kirakiray

当前 create-blocklet 创建应用的流程使用的是多选模式,会带来以下几个困扰:

  • 用户没法更明确的知道选择一个和选择多个造成的结果区别
  • 用户无法在 monorepo 中选择同一个模板多次,只能在创建完后进行手动添加

基于以上困扰,有以下几种解决方案:

  1. 在选择模板前,提供一个当前项目类型的选择(单一应用、组合应用),根据不同类型再去选择模板
  2. 每次选择模板都是单选模式,选择模板后还是进入选择模板的阶段,这样可以同时选择多个相同的模板作为组合应用,当有一次选择为空时,跳出选择模板的步骤,后续步骤保持跟原来一致
@wangshijun wangshijun modified the milestones: 2022 W44, 2022 Q4 Oct 30, 2022
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