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
【vue3-demo】Exporting a component with the same path and name as the host application replaces the host application component when the remote component is used.
#4255
Open
lemontree2000 opened this issue
Aug 20, 2024
· 1 comment
I'm using the vue3-demo with the ,Exporting a component with the same path and name as the host application will overwrite the host application component when the remote component is used.
Description
I'm using the vue3-demo with the ,Exporting a component with the same path and name as the host application will overwrite the host application component when the remote component is used.
issues
provider directory
provider config
consumer directory
consumer config
use remote component
Expect
It is expected that there should be two lines of text each:
Self component.
Self component from remote;
Practice
The actual two lines of text both show: Self component from remote; It looks like the remote component overrides the local component
Reproducible code
https://github.com/lemontree2000/module-federation-vue3-demo
The text was updated successfully, but these errors were encountered: