icestark icon indicating copy to clipboard operation
icestark copied to clipboard

dumi怎么接入微前端,用umi的方法好像不行

Open jinyan99 opened this issue 2 years ago • 3 comments

Do you want to request a feature or report a bug?

What is the current behavior?

**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

What is the expected behavior?

jinyan99 avatar Jun 02 '22 03:06 jinyan99

描述下目前你是怎么接的,包括遇到的问题,可以先参考文档试下接入 React 组件 https://micro-frontends.ice.work/docs/guide/use-layout/react/

ClarkXia avatar Jun 02 '22 03:06 ClarkXia

就按照那3步,在dumi项目里新建了app.tsx文件,然后配置下基准路由 ,然后主应用加载时就访问不到注册的生命周期

jinyan99 avatar Jun 02 '22 03:06 jinyan99

dumi框架中默认是没有app文件的 只有个indexjs文件

jinyan99 avatar Jun 02 '22 03:06 jinyan99