supabase
supabase copied to clipboard
how to use useSupabaseClient in my custom composable ?
Version
@nuxtjs/supabase: nuxt:
Reproduction Link
Steps to reproduce
What is Expected?
What is actually happening?
[nuxt] A composable that requires access to the Nuxt instance was called outside of a plugin, Nuxt hook, Nuxt middleware, or Vue setup function. This is probably not a Nuxt bug. Find out more at https://nuxt.com/docs/guide/concepts/auto-imports#using-vue-and-nuxt-composables.
What issues do you see when you try using it within your custom composable?
This might be the solution you're looking for - https://github.com/nuxt-modules/supabase/issues/232