Skip to content

Commit

Permalink
use injection only
Browse files Browse the repository at this point in the history
  • Loading branch information
sduduzog committed Jun 28, 2021
1 parent 41172f0 commit 35bab9d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ Vue.use(VueSupabase, {

// Inject Supabase into Nuxt Context
export default (ctx, inject) => {
ctx.$supabase = Vue.supabase
inject('supabase', Vue.supabase)
}

0 comments on commit 35bab9d

Please sign in to comment.