docs: Add clearer instructions on the storage location of mdx-components files. (#52187)
Co-authored-by: Lee Robinson <me@leerob.io>
This commit is contained in:
parent
927fc9e220
commit
bd02b4db7c
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue