From e3ad371c97abb7cc6282998984fc3ec5f85d39ba Mon Sep 17 00:00:00 2001 From: Keerthi Ramanarayan Meda <1650033+krmeda@users.noreply.github.com> Date: Thu, 22 Jun 2023 09:33:40 -0400 Subject: [PATCH] Add docs for src directory to include tailwindcss (#51619) Tailwind CSS configuration is missing in the docs when configuring the `src` folder Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com> --- .../06-configuring/06-src-directory.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/02-app/01-building-your-application/06-configuring/06-src-directory.mdx b/docs/02-app/01-building-your-application/06-configuring/06-src-directory.mdx index 99f6bd76e3309..534e43db1c658 100644 --- a/docs/02-app/01-building-your-application/06-configuring/06-src-directory.mdx +++ b/docs/02-app/01-building-your-application/06-configuring/06-src-directory.mdx @@ -27,3 +27,4 @@ To use the `src` directory, move the `app` Router folder or `pages` Router folde > - `.env.*` files should remain in the root of your project. > - `src/app` or `src/pages` will be ignored if `app` or `pages` are present in the root directory. > - If you're using `src`, you'll probably also move other application folders such as `/components` or `/lib`. +> - If you're using Tailwind CSS, you'll need to add the `/src` prefix to the `tailwind.config.js` file in the [content section](https://tailwindcss.com/docs/content-configuration).