Skip to content

Commit

Permalink
Merge pull request #4 from sduduzog/use_commonjs_instead
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrobertson authored Jul 16, 2021
2 parents 84c4bff + 56a4dbf commit 3be8e08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';

import { createClient } from '@supabase/supabase-js'
const { createClient } = require('@supabase/supabase-js')

export default {
module.exports = {
install: function (Vue, options) {
const supabase = createClient(options.supabaseUrl, options.supabaseKey, options.supabaseOptions)

Expand All @@ -16,4 +16,4 @@ export default {

Vue.supabase = supabase;
}
};
}

0 comments on commit 3be8e08

Please sign in to comment.