All Projects → supabase-community → nuxt-supabase

supabase-community / nuxt-supabase

Licence: MIT license
A supa simple wrapper around Supabase.js to enable usage within Nuxt.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to nuxt-supabase

madewithsupabase
A collection of projects made with Supabase – Websites, Mobile Apps, SaaS, Plugins and more!
Stars: ✭ 84 (-42.47%)
Mutual labels:  nuxt, supabase
supabase
An easy way to integrate Supabase with NuxtJS
Stars: ✭ 39 (-73.29%)
Mutual labels:  nuxt, supabase
ds-visualizer
This is an ongoing project based on data structures. We will be presenting and explaining the code of each basic data structure with the help of a visualizer.
Stars: ✭ 14 (-90.41%)
Mutual labels:  supabase
nuxt-ghost
Easy Ghost content API integration with Nuxt.js.
Stars: ✭ 27 (-81.51%)
Mutual labels:  nuxt
loading-screen
Loading Screen Module for Nuxt.js
Stars: ✭ 89 (-39.04%)
Mutual labels:  nuxt
gancio
a shared agenda for local communities (with activitypub support)
Stars: ✭ 21 (-85.62%)
Mutual labels:  nuxt
nuxt-ssr-firebase
A example repo for using nuxt with firebase hosting and cloud functions
Stars: ✭ 58 (-60.27%)
Mutual labels:  nuxt
trailing-slash-guide
Understand and fix your static website trailing slash issues!
Stars: ✭ 255 (+74.66%)
Mutual labels:  nuxt
open-fixture-library
A library and website for lighting technology's DMX fixture definition files.
Stars: ✭ 113 (-22.6%)
Mutual labels:  nuxt
html2md
helloworld 开发者社区开源的一个轻量级,强大的 html 一键转 md 工具,支持多平台文章一键转换,并保存下载到本地。
Stars: ✭ 332 (+127.4%)
Mutual labels:  nuxt
nuxt-fundamentals
Source code for the Nuxt.js Fundamentals course
Stars: ✭ 40 (-72.6%)
Mutual labels:  nuxt
likecoin-button
Every Like is a reward. Turn your Likes into actual income now.
Stars: ✭ 18 (-87.67%)
Mutual labels:  nuxt
node-express-nuxt-mongodb-boilerplate
基于nuxt开发的ssr后台管理系统
Stars: ✭ 14 (-90.41%)
Mutual labels:  nuxt
supabase flutter
Using Supabase in Flutter
Stars: ✭ 38 (-73.97%)
Mutual labels:  supabase
hubble-frontend-pwa
E-Commerce PWA Frontend
Stars: ✭ 43 (-70.55%)
Mutual labels:  nuxt
nuxtwebsite
A simple Nuxt.js setup to create websites with blog feature using Storyblok as CMS and Netlify to deploy it.
Stars: ✭ 29 (-80.14%)
Mutual labels:  nuxt
kore-dashboard
Kubernetes multi-clusters dashboard
Stars: ✭ 25 (-82.88%)
Mutual labels:  nuxt
applicationinsights-module
Application Insights module for NuxtJS
Stars: ✭ 14 (-90.41%)
Mutual labels:  nuxt
nuxt-speedkit
nuxt-speedkit will help you to improve the lighthouse performance score (100/100) of your website.
Stars: ✭ 401 (+174.66%)
Mutual labels:  nuxt
godot-engine.supabase
A lightweight addon which integrates Supabase APIs for Godot Engine out of the box.
Stars: ✭ 39 (-73.29%)
Mutual labels:  supabase

Nuxt 3 + Supabase

Nuxt 2 + Supabase

A supa simple wrapper around Supabase.js to enable usage within Nuxt.

This package uses vue-supabase.

Install

yarn add nuxt-supabase

Configure

Add the following to your nuxt.config.js file.

modules: [
  ['nuxt-supabase', {
    supabaseUrl: 'YOUR_SUPABASE_URL',
    supabaseKey: 'YOUR_SUPABASE_KEY'
  }]
],

TypeScript

Add the package to your tsconfig.json to make typescript aware of the additional types to the the nuxt context

{
  "compilerOptions": {
    "types": [
      "@nuxt/types",
      "nuxt-supabase"
    ]
  }
}

Usage

You can then use supabase within your Nuxt context, or Vue components.

<script>
export default {
  async asyncData({ $supabase }) {
    return {
      events: await $supabase.from("events").select("*");
    }
  }
}
</script>
<script>
export default {
  data() {
    return {
      events: null,
    };
  },
  methods: {
    async getEvents() {
      this.events = await this.$supabase.from("events").select("*");
    },
  },
};
</script>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].