module-federation / module-federation-examples

Implementation examples of module federation , by the creators of module federation
https://module-federation.io/
MIT License
5.54k stars 1.73k forks source link

There is a slot attribute error in webpack & vite #2364

Closed dlpuzhangyue closed 9 months ago

dlpuzhangyue commented 1 year ago

In the "vue3-demo-federation-with-vite" example, if the slot property is included in the webpack-side, the error "TypeError: Cannot read properties of null (reading 'isCE')" will be reported. Is there any good solution here please? image

ScriptedAlchemy commented 1 year ago

Send a pr or use the new vite federation plugin

dlpuzhangyue commented 1 year ago

Send a pr or use the new vite federation plugin # pr already send;

local use @originjs/vite-plugin-federation@1.1.10,problem still exists

2370

ScriptedAlchemy commented 1 year ago

I don't know if that's the native federation plugin. Look at its source and see if it's using softarc native federation under the hood