Skip to content

Supabase App

The SupabaseApp component is used to wrap your app and provide the Supabase client to the rest of your app.

Props

Prop nameTypeDescription
supabaseSupabaseClientThe Supabase client object.

Slots

This component has no slots.

Usage

<script lang="ts">
import { supabase } from '$lib/supabase';
import { SupabaseApp } from 'supasveltekit';
</script>
<SupabaseApp {supabase}>
<!-- Your components here -->
</SupabaseApp>