Command
VITE_API_URL=https://api.example.comExplanation
Environment variables prefixed with VITE_ are exposed to the client-side code.
Examples
Set API URL
VITE_API_URL=https://api.example.comSet app title
VITE_APP_TITLE=My AppEnable debug mode
VITE_DEBUG=true