Next.js Discord

Discord Forum

How can I use mdx in the Nextjs project?

Unanswered
okakajp (Japanese) posted this in #help-forum
Open in Discord
I want to use mdx in the Nextjs project, but I get an error like the image
How should I write the code to work?
(This sentence uses translation)
The site I used as a reference
- https://nextjs.org/docs/app/building-your-application/configuring/mdx
- https://zenn.dev/hayato94087/articles/1411f7af3eaee4
(Japanese site)

4 Replies

page.mdx is placed under app/info/test/
I would like you to mention it when you can return it
Solved