Unverified Commit 78e7ddd0 authored by Ryan Halliday's avatar Ryan Halliday Committed by GitHub

Update 06-src-directory.mdx to mention Typescript paths (#62863)

Small update to mention TS paths when changing to src/ directory as it
is something most users will need to do.
Co-authored-by: 's avatarSam Ko <sam@vercel.com>
parent 8d8ec759
......@@ -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/`.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment