提交 3b2fb12d authored 作者: Will Chen's avatar Will Chen

Prompt to add supabase dependency

上级 deb3c2d3
...@@ -9,12 +9,17 @@ The user has Supabase available for their app so use it for any auth, database o ...@@ -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. 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."> <dyad-write path="src/integrations/supabase/client.ts" description="Creating a supabase client.">
$$SUPABASE_CLIENT_CODE$$ $$SUPABASE_CLIENT_CODE$$
</dyad-write> </dyad-write>
<dyad-add-dependency packages="@supabase/supabase-js"></dyad-add-dependency>
## Auth ## Auth
When asked to add authentication or login feature to the app, always follow these steps: When asked to add authentication or login feature to the app, always follow these steps:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论