Which object holds environment variables (Nuxt)
I just configured & deployed a nuxt app to be deployed to cloudflare pages. Environment variables are all setup, but I can't seem to access them, like to setup my drizzle DB connexion :
(I'm using
t3-env
to valdiate & access my env vars : https://env.t3.gg/)
All these env vars are alaways empty & validation fails. By default it looks into process.env, but I can change the lookup object.
But I'm still not sure to understand how I can access these env vars. I tried looking into globalThis, process.env, import.meta.env but none of these objects seem to hold my env vars.1 Reply