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, and works with React, Vue, Svelte, and vanilla Vite setups.
- →Understands the VITE_ prefix for client-exposed values.
- →Warns when a VITE_ value can only be a secret: a Stripe or Anthropic secret key, a GitHub or Slack token, an AWS access key id, or a key named SECRET, PASSWORD or PRIVATE_KEY.
- →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