Next.js Discord

Discord Forum

Runtime env variables server/client

Unanswered
Asiatic Lion posted this in #help-forum
Open in Discord
Asiatic LionOP
By using app router, is there any way (except next-runtime-dev pkg) to load env variables on runtime? on both server and client side? I already use next-runtime-dev but seems to not work with 'use client' directive. thanks for your help!

0 Replies