lomyo
lomyo
federation({ name: 'host-app', remotes: { "remote-xxx":"http://localhost:5011/assets/remoteEntry.js", }, shared: ['vue', 'pinia'] }) 我遇到的情况是 remotes 必须要有值,才会被当成宿主app,当实际上我只需要动态加载,remotes不需要赋值 🙅🏻♀️ -- The situation I encountered is that remotes must have a value before they can...
 After source code debugging, it was found that it was caused by the buildRawTarget function 经过源码调试,发现是buildRawTarget函数导致的