MDX in Next.js is Easy Now

preview_player
Показать описание


🧰 Resources

#colbyfayock #nextjs #mdx #webdevelopment
Рекомендации по теме
Комментарии
Автор

Dude you're a wizard. I spent nearly 12 hours today trying to get this exact functionality with mdx files typed up and with this video I can now go to sleep. Cheers !!!!

isaito
Автор

Good video, I learned a lot thank you. Seem to not be able to handle tables even with remark plugins. I did this with md already but not seen ot working with mdx.

calvincrane
Автор

Very good video! My question is, do I need to rebuild every time new content is added or updated in MDX? I come from WordPress, where content can be published with just one click. Can this be achieved with MDX and Next.js, or do I still need to rebuild or redeploy?

ibnurasikh
Автор

It's absolutely brilliant, and I'd like to set it up, too. However, desperately trying to reproduce this in Next 15, but I get the error: [ Server ] Error: A React Element from an older version of React was rendered. This is not supported. It can happen if:
- Multiple copies of the "react" package is used.
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
- A compiler tries to "inline" JSX instead of using the runtime.
I moved your project to Next 15 and it gives me the same error. What seems to have changed in between?

marekjasiok
Автор

As soon as I try to install the dependencies I get loads and loads of configuration errors .

lostinthenarrativve
Автор

How do you get code highlighting for mdx files?

RabahTaib-mnfs
Автор

Source Code or Example *.mdx files
needed

immipixediter