Webpack Module Federation shared-routing Example? #515
hskrishandi
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In webpack module federation of shared-routing example, we can have a scenario where we can run a dev server on a child App, yet also able to access the rest of the App.
The way it works is that:
Inside parent App:
Inside child App:
With this setup, it doesn't matter whether we run the dev-server from the parent App or any of the child App, as we will get the same whole App.
I wonder if the following is achievable in this Vite federation plugin? From the guides here, seems that the remote has to be run as a Vite preview mode, and it prevents the parent App from being able to import the child App in dev-server mode.
Beta Was this translation helpful? Give feedback.
All reactions