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:
louispaulb 2026-07-06 22:01:15 -04:00
parent 0b9933c485
commit fbb7de935f

View 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>"