env.t3.gg app directory
Env
Never build your apps with invalid environment variables again. Validate and transform your environment with the full power of Zod.
5 Replies
ah you can just move app/ into a new src/ directory? New to nextjs so I didn't know that
it works either way
so I could have env.mjs in my root dir?
you can have either
./src/app
or ./app
i like ./src/
cause it keeps my app code more contained, away from all my dotfiles and such