Quant
Quant
在子应用,增加publicPath配置,内容是主应用触发时的根路由,试试
> > 在子应用,增加publicPath配置,内容是主应用触发时的根路由,试试 > >  >  > 无效 时间很久了,我也忘记怎么解决了,再提供下我的方案吧(我的主应用上purehtml,子应用是umi): 1、子应用入口文件处: __webpack_public_path__ = window.__INJECTED_PUBLIC_PATH_BY_QIANKUN__; window.zwfw_new = { bootstrap: (props) => { // eslint-disable-next-line no-console console.log('子应用初始化', props); return Promise.resolve(props); },...