From 71519951a6a54a8782f594529a72a9bf3248238c Mon Sep 17 00:00:00 2001 From: Ryan Halliday Date: Tue, 5 Mar 2024 20:20:45 +1300 Subject: [PATCH] Update 06-src-directory.mdx to mention Typescript paths --- .../07-configuring/06-src-directory.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/02-app/01-building-your-application/07-configuring/06-src-directory.mdx b/docs/02-app/01-building-your-application/07-configuring/06-src-directory.mdx index c81caea94130b..125473d56b13c 100644 --- a/docs/02-app/01-building-your-application/07-configuring/06-src-directory.mdx +++ b/docs/02-app/01-building-your-application/07-configuring/06-src-directory.mdx @@ -31,3 +31,4 @@ To use the `src` directory, move the `app` Router folder or `pages` Router folde > - If you're using `src`, you'll probably also move other application folders such as `/components` or `/lib`. > - If you're using Middleware, ensure it is placed inside the `src` directory. > - 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). +> - If you are using TypeScript paths for imports such as "@/*", you should update the `paths` object in `tsconfig.json` to include `src/`.