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.
  • 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_

    Nuxt runtime config variable

  • NUXT_PUBLIC_

    Client-exposed variable (Nuxt)

  • NITRO_PORT

    Nitro server port

  • NITRO_HOST

    Nitro server host

  • NITRO_PRESET

    Nitro deployment preset

  • NUXT_APP_BASE_URL

    Application base URL path

  • NUXT_APP_CDN_URL

    CDN URL for static assets

  • NUXT_DEVTOOLS_ENABLED

    Enable Nuxt DevTools

Official Nuxt docs: nuxt.com/docs