timlrx / tailwind-nextjs-starter-blog

This is a Next.js, Tailwind CSS blogging starter template. Comes out of the box configured with the latest technologies to make technical writing a breeze. Easily configurable and customizable. Perfect as a replacement to existing Jekyll and Hugo individual blogs.
https://tailwind-nextjs-starter-blog.vercel.app/
MIT License
8.93k stars 2.09k forks source link

Expected component `DonutChart` to be defined #794

Closed yuis-ice closed 11 months ago

yuis-ice commented 12 months ago

Describe the bug

Despite of the document, tailwind-nextjs-starter-blog/faq/custom-mdx-component.md at main · timlrx/tailwind-nextjs-starter-blog, the custom components do not work on the author mdx files (e.g. ./data/authors/default.mdx), while for blog posts it does work as described.

Edit (24 Jan 28)**

I found the cause and I solved the issue by my own.

timlrx commented 11 months ago

This was intentional on my part - you could include the relevant components for each section and it does not have to be the same.