Building markdown (.mdx) page prompted "createContext only works in Client Components" error
Unanswered
dr_kakapo posted this in #help-forum
I just
- initiated the project using the latest
- using
- followed the official [doc here](https://nextjs.org/docs/app/building-your-application/configuring/mdx#nextmdx) to enable markdown page buildings.
But I couldn't spin up the dev server when adding the markdown stuff... I don't know how to debug this.
- initiated the project using the latest
create-next-app
CLI tool- using
app routing
- followed the official [doc here](https://nextjs.org/docs/app/building-your-application/configuring/mdx#nextmdx) to enable markdown page buildings.
But I couldn't spin up the dev server when adding the markdown stuff... I don't know how to debug this.
1 Reply
mdx-components instead of mx-components