Framework support
Dotvault for Nuxt
Dotvault for Nuxt apps.
Nuxt 3's runtime config pulls from .env at build and at runtime, which means a typo in the wrong file can crash the server or silently break the client. Dotvault parses your .env files visually, flags issues, and gives you snapshots so you can always roll back.
What you get
- →Detects Nuxt automatically from package.json.
- →Understands NUXT_PUBLIC_ prefix for client-exposed runtime config.
- →Warns when a NUXT_PUBLIC_ value can only be a secret, because public runtime config is served to the browser along with everything else.
- →Works with both Nuxt 2 and Nuxt 3 env conventions.
Known environment variables
Dotvault recognises these variables when you open a Nuxt project and surfaces helpful descriptions and warnings in the editor. Nuxt is detected via nuxt in package.json.
NUXT_PUBLIC_Client-exposed variable (Nuxt)
NUXT_Nuxt runtime config variable
NITRO_PORTNitro server port
NITRO_HOSTNitro server host
NITRO_PRESETNitro deployment preset
NUXT_APP_BASE_URLApplication base URL path
NUXT_APP_CDN_URLCDN URL for static assets
NUXT_DEVTOOLS_ENABLEDEnable Nuxt DevTools
Official Nuxt docs: nuxt.com/docs