Make Nuxt use $development variables on Vercel
Hi everyone,
Maybe a stupid question, but I can't make Nuxt use $development variables (nuxt-config.ts) on Vercel preview deployments.
For instance, I have a dev.MY_DOMAIN that is linked to my dev branch.
Locally, it works perfectly. Nuxt uses the correct variables if I'm in development.
But on Vercel, it still uses my production variables.
I tried setting NODE_ENV etc... but nothings seems to be working.
Any idea?
Maybe a stupid question, but I can't make Nuxt use $development variables (nuxt-config.ts) on Vercel preview deployments.
For instance, I have a dev.MY_DOMAIN that is linked to my dev branch.
Locally, it works perfectly. Nuxt uses the correct variables if I'm in development.
But on Vercel, it still uses my production variables.
I tried setting NODE_ENV etc... but nothings seems to be working.
Any idea?