diff --git a/index.js b/index.js index 6c4eb17..8cdbacd 100644 --- a/index.js +++ b/index.js @@ -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) @@ -16,4 +16,4 @@ export default { Vue.supabase = supabase; } -}; +} \ No newline at end of file