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

[Task] 配套的 UI Library(React 版本) #2677

Closed
kuitos opened this issue Sep 18, 2023 · 3 comments · Fixed by #2706
Closed

[Task] 配套的 UI Library(React 版本) #2677

kuitos opened this issue Sep 18, 2023 · 3 comments · Fixed by #2706
Assignees
Milestone

Comments

@kuitos
Copy link
Member

kuitos commented Sep 18, 2023

提供 MicroApp 组件,方便用户更快速使用,如 umi plugin 提供的模式:

import { MicroApp } from 'umi';

export default function Page() {
  return <MicroApp name="app1" />;
}
  1. React 版本直接复用 umi plugin 的实现即可 https://github.com/umijs/umi/blob/master/packages/plugins/libs/qiankun/master/MicroApp.tsx
  2. Vue 版本需要新写一个,这两个部分逻辑应该可以抽出来复用
  3. 其他技术栈先不考虑
@kuitos kuitos added this to the 3.0 milestone Sep 18, 2023
@kuitos kuitos changed the title 配套的 UI Library [Task] 配套的 UI Library Sep 18, 2023
@kuitos kuitos changed the title [Task] 配套的 UI Library [Task] 配套的 UI Library(React 版本) Sep 19, 2023
@kuitos
Copy link
Member Author

kuitos commented Sep 19, 2023

@gaopeng0108 这个我改成 React 版本实现了,Vue 版本的我单独建一个

@bravepg
Copy link
Contributor

bravepg commented Sep 19, 2023

@gaopeng0108 这个我改成 React 版本实现了,Vue 版本的我单独建一个

好的,我先理解一下这个任务。我看 qiankun 有搞成 monorepo 的计划,是希望 MicroApp 的使用不和 umi 绑定,单独放在 qiankun 仓库里给用户使用吗?

@kuitos
Copy link
Member Author

kuitos commented Sep 19, 2023

是的。你切到 next 分支

@kuitos kuitos linked a pull request Oct 19, 2023 that will close this issue
@kuitos kuitos closed this as completed Oct 19, 2023
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 a pull request may close this issue.

2 participants