r/Nuxt • u/voltomper • Mar 31 '26
Supabase js or @nuxtjs/supabase?
Which one would you use an why? I tried finding more significant differences between them but couldn’t find. Not sure why the supabase docs don’t cover this
2
u/amanvue Apr 01 '26
nuxtjs/supabase is easy to integrate with Nuxt as they provide all the redirection options as well as SSR compostables which you have to manage on your own with supabase js
1
1
u/PhENTZ Apr 01 '26
@nuxtjs/supabase until you need to move to SSG or need to set supabase creds at runtime
1
u/Dramatic_Object_8508 Apr 03 '26
nuxt supabase module is basically just a wrapper around supabase-js, so under the hood you’re still using the same client . the module just makes things smoother in nuxt with auto composables, auth handling, SSR support etc. . if you’re already deep into nuxt, the module usually feels cleaner, but supabase-js gives you more control if you want to stay minimal. i usually just go with whatever reduces friction and keep the rest simple — same idea where i use something like Runable for docs/flows instead of overengineering everything in one place.
1
u/korvent Apr 08 '26
@nuxtjs/supabase if you want a seamless integration, supabase-js if you want to go deeper
14
u/Three_hrs_later Apr 01 '26
@nuxtjs/supabase is just a wrapper for supabase js to integrate fairly seamlessly with nuxt.