{"id":14968974,"url":"https://github.com/supabase-community/vue-supabase","last_synced_at":"2025-10-26T06:30:50.621Z","repository":{"id":38396988,"uuid":"344905057","full_name":"supabase-community/vue-supabase","owner":"supabase-community","description":"A supa simple wrapper around Supabase.js to enable usage within Vue.","archived":false,"fork":false,"pushed_at":"2023-11-01T17:33:03.000Z","size":438,"stargazers_count":87,"open_issues_count":3,"forks_count":7,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-02-08T06:16:36.255Z","etag":null,"topics":["supabase","vue"],"latest_commit_sha":null,"homepage":"https://supabase.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/supabase-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-05T18:53:20.000Z","updated_at":"2024-11-19T04:57:46.000Z","dependencies_parsed_at":"2024-06-21T14:17:16.020Z","dependency_job_id":"2acf91e4-6421-40e7-bbe0-9535bcf0113f","html_url":"https://github.com/supabase-community/vue-supabase","commit_stats":{"total_commits":114,"total_committers":9,"mean_commits":"12.666666666666666","dds":0.3771929824561403,"last_synced_commit":"fd8d342200376f310b04591749063c22ffca63a3"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase-community%2Fvue-supabase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase-community%2Fvue-supabase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase-community%2Fvue-supabase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase-community%2Fvue-supabase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/supabase-community","download_url":"https://codeload.github.com/supabase-community/vue-supabase/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238275938,"owners_count":19445315,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["supabase","vue"],"created_at":"2024-09-24T13:40:53.537Z","updated_at":"2025-10-26T06:30:50.334Z","avatar_url":"https://github.com/supabase-community.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Vue + Supabase\n\nA supa simple wrapper around Supabase.js to enable usage within Vue.\n\n## Installation\n\n```bash\n# Vue 3.x\nyarn add vue-supabase\n\n# Vue 2.x\nyarn add @vue/composition-api vue-supabase\n```\n\nNote: Currently `@vue/composition-api` is required for this package to work for projects using Vue 2.x.\n\n## Usage\n\n### Vue 2.x\n\n```js\nimport VueSupabase from \"vue-supabase\";\n\nVue.use(VueSupabase, {\n  supabaseUrl: \"\",\n  supabaseKey: \"\",\n  supabaseOptions: {},\n});\n```\n\n```js\nconst { data, error } = await this.$supabase.from(\"events\").select(\"*\");\n```\n\n### Vue 3.x\n\n```js\nimport VueSupabase from 'vue-supabase'\n\nconst app = createApp(...)\n\napp.use(VueSupabase, {\n  supabaseUrl: '',\n  supabaseKey: '',\n  supabaseOptions: {}\n})\n\napp.mount(...)\n```\n\n#### Options API\n\n```js\nconst { data, error } = await this.$supabase.from(\"events\").select(\"*\");\n```\n\n#### Composition API\n\n```js\nimport { useSupabase } from \"vue-supabase\";\n\nconst supabase = useSupabase();\n\nconst { data, error } = await supabase.from(\"events\").select(\"*\");\n```\n\nHere are a couple of composables available with Vue 3.x or Vue 2.x + Composition API\n\n```js\nimport { useSupabaseAuth, useSupabaseStorage } from \"vue-supabase\";\n\nconst auth = useSupabaseAuth();\nconst storage = useSupabaseStorage();\nconst { data } = await storage.listBuckets();\nawait auth.signOut();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupabase-community%2Fvue-supabase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupabase-community%2Fvue-supabase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupabase-community%2Fvue-supabase/lists"}