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

[Bug] vue3子应用 启用 qiankun插件报错 #11320

Open
liujiayii opened this issue Jun 27, 2023 · 2 comments
Open

[Bug] vue3子应用 启用 qiankun插件报错 #11320

liujiayii opened this issue Jun 27, 2023 · 2 comments

Comments

@liujiayii
Copy link
Contributor

What happens?

vue3子应用 启用 qiankun插件报错
image

Mini Showcase Repository(REQUIRED)

Please provide a minimal reproduction then upload to your GitHub. 请提供 最小重现,并上传到你的 GitHub 仓库

复现仓库:https://github.com/liujiayii/umi-vue-bug

How To Reproduce

在配置文件增加了如下配置,同样的配置React子应用不报错,vue子应用报错
plugins: ["@umijs/plugins/dist/qiankun"], qiankun: { slave: {}, },

Context

  • Umi Version: 4.0.71
  • Node Version: 16.20
  • Platform: Vue3
@fz6m
Copy link
Member

fz6m commented Jun 27, 2023

@xierenyuan 可以看下这个问题呢🌹,你们有用 vue + qiankun 的场景会出问题吗。

@xierenyuan
Copy link
Member

xierenyuan commented Jun 28, 2023

What happens?

vue3子应用 启用 qiankun插件报错 image

Mini Showcase Repository(REQUIRED)

Please provide a minimal reproduction then upload to your GitHub. 请提供 最小重现,并上传到你的 GitHub 仓库

复现仓库:https://github.com/liujiayii/umi-vue-bug

How To Reproduce

在配置文件增加了如下配置,同样的配置React子应用不报错,vue子应用报错 plugins: ["@umijs/plugins/dist/qiankun"], qiankun: { slave: {}, },

Context

  • Umi Version: 4.0.71
  • Node Version: 16.20
  • Platform: Vue3

目前的qiankun 插件仅支持 react 之前和虎哥聊过支持 vue , 我去聊聊看看具体的计划吧

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

3 participants