From fbb7de935f069081c6ceed3b93885700545035fd Mon Sep 17 00:00:00 2001 From: louispaulb Date: Mon, 6 Jul 2026 22:01:15 -0400 Subject: [PATCH] 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 --- apps/website-vue/.env.example | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 apps/website-vue/.env.example diff --git a/apps/website-vue/.env.example b/apps/website-vue/.env.example new file mode 100644 index 0000000..cdef9cf --- /dev/null +++ b/apps/website-vue/.env.example @@ -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=""