lac
Exposing ENV Variables for nuxt.config
Hey.
Any suggestions on how to expose env variables in runtime?
I've read about NUXT_ prefix, that works for runtimeConfig, but I need to expose the env variables I use in the nuxt config file itself. There I cannot use runtimeConfig unfortunately.
Looking through the compiled files it seems like the process.env expressions are evaluated at build time.
3 replies