Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
nuxt.config.ts - runtimeconfig - .env - Nuxt
N
Nuxt
•
5mo ago
•
3 replies
Rekar Omar
nuxt.config.ts - runtimeconfig - .env
In my Nuxt config file
, when i want to leave the config empty and override it using my
.env file
, it works only on localhost
, and does not work on my VPS when i build it
.
NUXT
_PUBLIC
_API
_BASE
Nuxt
Join
Nuxt Community Chat Server
31,686
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
nuxt generate sets process.env.NODE_ENV to prerender after nuxt.config.ts
N
Nuxt / ❓・help
2y ago
Can i set `.env` file path inside `nuxt.config.ts`?
N
Nuxt / ❓・help
3y ago