Get environment Variable from Host and not from Remote #2707
Unanswered
NicoJolyAdeo
asked this question in
Q&A
Replies: 1 comment
-
Youre probably using DefinePlugin which converts env vars into hard coded, static values. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
In REMOTE: exposes the HelloWorld component.
In HOST: import this component.
The HelloWorld (call in host) use VUE_APP_BASE_URL_LOCK env var.
But in HOST, this env var return THE_REMOTE and not THE_HOST.
Issue : I can not use Environment variables from host in a component call from remote.
https://pbs.twimg.com/media/FnezBEXX0AEbMS2?format=jpg&name=4096x4096
Have you a fix for that ?
Thank you !
Beta Was this translation helpful? Give feedback.
All reactions