Files
supabase/apps/ui-library/content/docs/tanstack/client.mdx
T
Terry SuttonandIvan Vasilov bc0977f492 UI library/docs (#34377)
* Add faq sections

* Update the faq.

* Minor updates to the client and auth guides.

* Add missing pages to the sidebar.

* Rename the React category to React SPA.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-03-25 15:00:13 +01:00

22 lines
793 B
Plaintext

---
title: Tanstack Start
description: Supabase client for Tanstack Start
---
## Installation
<BlockItem name="supabase-client-tanstack" description="Supabase Client for Tanstack Start" />
The easiest way to use Tanstack Start with Supabase is to follow the following steps:
1. Follow the [official guide](https://ui.shadcn.com/docs/installation/tanstack) for adding shadcn/ui to Tanstack Start
2. Install this block to get the Supabase clients
3. Add VITE_SUPABASE_URL and VITE_SUPABASE_ANON_KEY to your .env file
## Folder structure
<RegistryBlock itemName="supabase-client-tanstack" />
This block provides Supabase clients designed for use with SSR by storing JWT tokens in cookies. If you're
developing a React SPA, use the [React SPA client](/ui/docs/react-router/client) instead.