Skip to content

Commit

Permalink
docs: Add clearer instructions on the storage location of mdx-compone…
Browse files Browse the repository at this point in the history
…nts files. (#52187)

Co-authored-by: Lee Robinson <me@leerob.io>
  • Loading branch information
feikerwu and leerob authored Jul 6, 2023
1 parent 927fc9e commit bd02b4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Install the `@next/mdx` package:
npm install @next/mdx @mdx-js/loader @mdx-js/react @types/mdx
```

Create `mdx-components.tsx` in the root of your application (the parent folder of `app`):
Create `mdx-components.tsx` in the root of your application (the parent folder of `app/` or `src/`):

```tsx filename="mdx-components.tsx" switcher
import type { MDXComponents } from 'mdx/types'
Expand Down

0 comments on commit bd02b4d

Please sign in to comment.