portal(vue): document required Supabase env via .env.example
Real .env stays untracked (matches apps/website). Fixes admin white-screen (supabaseUrl is required) by making the build-time requirement explicit. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
0b9933c485
commit
fbb7de935f
7
apps/website-vue/.env.example
Normal file
7
apps/website-vue/.env.example
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Copy to `.env` before building. Same vars as the React app (apps/website/.env).
|
||||||
|
# These are the PUBLIC Supabase project URL + publishable (anon) key — shipped to
|
||||||
|
# the browser by design. Required by src/integrations/supabase/client.ts (admin auth);
|
||||||
|
# a missing VITE_SUPABASE_URL makes createClient() throw and white-screens /admin/*.
|
||||||
|
VITE_SUPABASE_PROJECT_ID="rddrjzptzhypltuzmere"
|
||||||
|
VITE_SUPABASE_URL="https://rddrjzptzhypltuzmere.supabase.co"
|
||||||
|
VITE_SUPABASE_PUBLISHABLE_KEY="<public anon/publishable key from the Supabase project settings>"
|
||||||
Loading…
Reference in New Issue
Block a user