Framework support

Dotvault for Vite

Dotvault for Vite projects.

Vite uses the VITE_ prefix for client-exposed env vars. Anything without it stays server-side. Dotvault understands the convention, detects Vite projects automatically, and gives you the visual editor you'd actually want for managing them.

What you get

  • Detects Vite from package.json — works with React, Vue, Svelte, and vanilla Vite setups.
  • Understands the VITE_ prefix for client-exposed values.
  • Snapshot history and diff between environment files.
  • Smart warnings for common mistakes.

Known environment variables

Dotvault recognises these variables when you open a Vite project and surfaces helpful descriptions and warnings in the editor. Vite is detected via `vite` in package.json.

  • VITE_

    Client-exposed variable (Vite)

Official Vite docs: vite.dev/guide