Closed AlexFrazer closed 2 years ago
Last time I checked @next/mdx
wasn't using MDX v2. I used the guide from the MDX docs.
I am using mdx-bundler
as it gives more flexibility
@AaronLayton is naming files and CH.Code
component works for you in .mdx
files if u are using mdx-bundler
? I'm also using it, with nextjs
and it doesnt work :(
It should work. Check the examples folder in this repo or provide a sample repo please. Thanks.
@pomber just did, and fount the issue, it doesnt fully work for react@18, with react@17 everything works great :)
oh, yes, I need to fix #161
The example now uses @next/mdx
https://codehike.org/docs/installation/nextjs
Looks like it's what the official docs recommend