How to read client env using env-nextjs
when attempting to read client variables env.ms always seem to fail on createEnv. I have defined it with NEXTPUBLIC. Am I missing something?




1 Reply
for client side varibles you have to prefix with
NEXT_PUBLIC_
when setting and when using it