Loading the remote url at runtime #634
Unanswered
Lemour-sudo
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Did you find any solution to that? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@edusdorneles @Lemour-sudo Yes, you can try federation({
name: "host",
remotes: {
some_app: {
externalType: "promise",
external: `Promise.resolve(window.VUE_APP_SOME_APP_URL)`, // window.VUE_APP_SOME_APP_URL == "https://link.to/remoteEntry.js"
},
}), Inside |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to use this plugin for component's whose remote url (remote_app url) can only be determined at runtime when the host application is running? The remote url is not known before the page loads.
Beta Was this translation helpful? Give feedback.
All reactions