From d978ebedb638e45df18483c25c8bdd7ecab7f803 Mon Sep 17 00:00:00 2001 From: iamhectorsosa Date: Mon, 19 Feb 2024 15:52:09 +0100 Subject: [PATCH] Updating docs --- docs/getting-started/existing-project.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/getting-started/existing-project.md b/docs/getting-started/existing-project.md index 18f344f..01c5492 100644 --- a/docs/getting-started/existing-project.md +++ b/docs/getting-started/existing-project.md @@ -81,7 +81,7 @@ NEXT_PUBLIC_SUPABASE_ANON_KEY= If you do not have these, you may have to run Supabase locally first before development. Read more on [Your Supabase Instance](/getting-started/supabase). -## 4. Add Query, Middleware and API Route to your project +## 4. Add Query, Middleware, API Route and TailwindCSS Config to your project ### TanStack Query @@ -103,6 +103,20 @@ Chances are that you will need this route handler. <<< ../../apps/next/app/auth/confirm/route.ts +### TailwindCSS Config + +Make sure that the module components are included in your TailwindCSS config. + +```ts +const config = { + content: [ + "./modules/**/*.{ts,tsx}", // [!code ++] + // ... + ], + // ... +}; +``` + ## 5. Start your development server ::: warning Before proceeding