I have worked on this issue for almost 3 days that I have and I do not know how to fix it. The idea is to have a mfe that has all shared components such as login, auth callback, navigation, etc. So the mfe has more than one component. The shell should be able to load any of these shared components using a router. I am using the code below to route the request to the mfe that has all shared components. The issue here is the component is not loaded. The whole idea of this is to have one MFE with all shared stuff, so I do not need to duplicate it across all MFEs. If you have better ideas or examples in how to do it, please let me. I will appreciate it. I am new in mfes.
Hi guys,
I have worked on this issue for almost 3 days that I have and I do not know how to fix it. The idea is to have a mfe that has all shared components such as login, auth callback, navigation, etc. So the mfe has more than one component. The shell should be able to load any of these shared components using a router. I am using the code below to route the request to the mfe that has all shared components. The issue here is the component is not loaded. The whole idea of this is to have one MFE with all shared stuff, so I do not need to duplicate it across all MFEs. If you have better ideas or examples in how to do it, please let me. I will appreciate it. I am new in mfes.
Shell router
webpack.config (MFE)
auth-callback.module.ts