In version 5 for Nuxt3 (NuxtJS), how can the httpEndpoint be defined in runtime? #475
Answered
by
juanmanuelcarrera
juanmanuelcarrera
asked this question in
Q&A
-
If I use environment variables such as process.env.API_GRAPHQL_URL to set the client's httpEndpoint value, these variables have to be defined at build time. If I don't define them at build time and I do it at runtime, the client doesn't take the value of the environment variable. Any ideas? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
juanmanuelcarrera
Feb 7, 2023
Replies: 1 comment
-
A trick for this defined here. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
juanmanuelcarrera
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A trick for this defined here.