Environment Variables
.env.local
is the environment variable for local development.env
is the environment variable for production
.env.*
files can configure the following environment variables:
Variable Name | Description | Default Value | Remarks |
---|---|---|---|
VITE_APP_NAME | Application Name | Vite Boilerplate | |
VITE_API_URL | API URL | http://localhost:5173/ | |
VITE_ENABLE_DEVTOOLS | Enable DevTools | false | |
VITE_EDITOR | Editor | cursor | click-to-component |
VITE_ENABLE_MOCK | Enable Mock | true | |
VITE_API_URL | API URL | http://localhost:5173/ | |
VITE_ENABLE_MOCK | Enable Mock | true |