Micro Frontend for remix #9859
Unanswered
ajmeraaxesh
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I realize you are after Vite support but I don't have a good answer for that. If you are okay using rspack and react-router then there's a good example at https://github.com/swalker326/react-router-fog-of-war-example |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am complete new to concept of module federation and would appreciate, if someone can guide me through module federation implementation in my Remix App using Vite Compiler
I am using the following as a reference
https://github.com/originjs/vite-plugin-federation***
However I am facing cannot loading http: protocol in vite.config. Adn even trying my custom script attahced as bellow is not allowing the module to load
`export function loadRemoteModule(url, scope, module) {
return new Promise((resolve, reject) => {
const element = document.createElement('script');
}
`
Please suggest a simple example for vite module federation I can refer
Beta Was this translation helpful? Give feedback.
All reactions