Supabase App
The SupabaseApp
component is used to wrap your app and provide the Supabase client to the rest of your app.
Props
Prop name | Type | Description |
---|---|---|
supabase | SupabaseClient | The 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>