Skip to content

Commit

Permalink
Update 06-src-directory.mdx to mention Typescript paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhalliday authored Mar 5, 2024
1 parent 473ef81 commit 7151995
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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/`.

0 comments on commit 7151995

Please sign in to comment.