Environment Variable Test

Build-time (baked into bundle)

NEXT_PUBLIC_BUILD_PUBLIC_VAR: default-value

Runtime (read at server startup)

RUNTIME_PRIVATE_VAR: loading...

RUNTIME_PUBLIC_VAR: loading...

Next.js logo

To get started, edit the page.tsx file.

Looking for a starting point or more instructions? Head over to Templates or the Learning center.