supabase
supabase copied to clipboard
Is it possible to have multiple Supabase instances?
I have...
- 1 Nuxt Website
- 2 Supabase Projects
I want to...
- Build a CRUD View and do changes in both Supabase projects
Is something like that possible?
const project1 = useSupabaseClient({
supabase_url: process.env.supabase_project_url_1,
supabase_key: process.env.supabase_project_key_1
});
const project2 = useSupabaseClient({
supabase_url: process.env.supabase_project_url_2,
supabase_key: process.env.supabase_project_key_2
});
... or how could I accomplish that?
Thanks in advance
Hey, not sure how relevant that is, but from my understanding you'd want to use the underlaying library, https://github.com/supabase/supabase-js/, for this. Using the nuxt module creates one instance that's heavily connected/integrated to your Nuxt configuration, and tinkering with this will (in my understanding) only lead to problems
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
This issue was closed because it has been stalled for 30 days with no activity.