nuxt-env
nuxt-env copied to clipboard
Runtime environment variable not pass to Client
For build-time environment variables, it works perfectly with the variable accessible in both client and server (universal render mode).
For runtime environment variables, it is only accessible on the server but not on the client. Is this the expected behavior or there is a bug?
I'm not sure I understand your question, as this library is specifically to enable runtime environment variables. Variables are available client-side unless the secret
option is enabled.
Could you post an example or make a recreation in codesanbdox of your exact issue?