Next.js Discord

Discord Forum

Cannot get MDX to render properly when using serialize()

Unanswered
Brown bear posted this in #help-forum
Open in Discord
Brown bearOP
Hey, I'm trying to make a blog with MDX in Next. I'm getting confused by a bunch of different ways of doing this on the internet, I cannot find a way of getting it to work.
This is the code I have: https://gist.github.com/simonsanchezart/cc9f9da3399a5346b2cbadbfbd882d84
<MDXRemote source={props.source}></MDXRemote> is not rendering anything.

Any help is appreciated, thanks!

0 Replies