importRemote #27226
mehrabix
started this conversation in
Feature Requests
importRemote
#27226
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here's a corrected version of your text with proper grammar and structure:
Hi,
I need the ability to import modules from one remote to another using a URL, like this:
importRemote({ url: "http://localhost:3001", scope: 'Foo', module: 'Bar' }).then(({/* list of Bar exports */}) => {
// Use Bar exports
});
I found this package, but it does not work with Nx Angular Module Federation:
https://www.npmjs.com/package/module-federation-import-remote
When I use it, I get the following error in the browser console:
Error: Loading script failed
Beta Was this translation helpful? Give feedback.
All reactions