Unverified Commit bd02b4db authored by feikerwu's avatar feikerwu Committed by GitHub

docs: Add clearer instructions on the storage location of mdx-components files. (#52187)

Co-authored-by: 's avatarLee Robinson <me@leerob.io>
parent 927fc9e2
......@@ -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'
......
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