ChronicStone
Explore posts from serversCDCloudflare Developers
•Created by ChronicStone on 5/27/2024 in #general-help
Custom install command
I need to run a custom install command when installing packages for some reasons. Is there a way I can achieve this ?
3 replies
CDCloudflare Developers
•Created by ChronicStone on 1/9/2024 in #pages-help
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.2 replies