Initial commit
This commit is contained in:
18
templates/vite-react/.env.example
Normal file
18
templates/vite-react/.env.example
Normal file
@@ -0,0 +1,18 @@
|
||||
# TinaCloud Credentials
|
||||
# Get these from https://app.tina.io after creating a project
|
||||
|
||||
# Note: Vite requires VITE_ prefix for environment variables
|
||||
# These variables are exposed to the client, so only use public values
|
||||
|
||||
# Client ID (public, safe to expose)
|
||||
VITE_TINA_CLIENT_ID=your_client_id_here
|
||||
|
||||
# Read-only token (keep secret, but exposed to client in Vite)
|
||||
# For production, use backend proxy to keep this secret
|
||||
VITE_TINA_TOKEN=your_read_only_token_here
|
||||
|
||||
# Git branch
|
||||
VITE_GITHUB_BRANCH=main
|
||||
|
||||
# For self-hosted backend
|
||||
# VITE_TINA_API_URL=/api/tina/gql
|
||||
Reference in New Issue
Block a user