You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
子应用配置如下:
export default defineConfig({ routes: [{ path: "/", component: "index" }], npmClient: "pnpm", plugins: ["@umijs/plugins/dist/qiankun"], qiankun: { slave: {}, }, mfsu: false, fastRefresh: true, monorepoRedirect: { srcDir: ["../src"] }, mountElementId: "deye", base: "/deye", });
主应用为umimax应用,配置如下
export default defineConfig({ antd: { }, access: {}, model: {}, initialState: {}, request: {}, layout: { title: '@umijs/max', }, routes, npmClient: 'pnpm', qiankun: { master: { prefetch: false } }, mfsu: false });
目前整个项目可以正常启动,但启动主应用和子应用时,修改子应用无法触发热更新,但直接访问子应用可以正常热更新。
目前在社区里也看到一些类似的问题,但好像都没有解决办法?
Beta Was this translation helpful? Give feedback.
All reactions