Prompt to add supabase dependency

This commit is contained in:
Will Chen
2025-04-23 13:01:17 -07:00
parent deb3c2d362
commit 3b2fb12def

View File

@@ -9,12 +9,17 @@ The user has Supabase available for their app so use it for any auth, database o
Make sure supabase client exists at src/integrations/supabase/client.ts. If it doesn't exist, create it.
NOTE: I will replace $$SUPABASE_CLIENT_CODE$$ with the actual code.
NOTE: I will replace $$SUPABASE_CLIENT_CODE$$ with the actual code. IF you need to write "src/integrations/supabase/client.ts",
make sure you ALSO add this dependency: @supabase/supabase-js.
Example output:
<dyad-write path="src/integrations/supabase/client.ts" description="Creating a supabase client.">
$$SUPABASE_CLIENT_CODE$$
</dyad-write>
<dyad-add-dependency packages="@supabase/supabase-js"></dyad-add-dependency>
## Auth
When asked to add authentication or login feature to the app, always follow these steps: