Published On Premiered Nov 15, 2023
NextJS is a great tool for creating websites. However, just like React used to be with state management, Next JS doesn’t care how you provide content to it. And there are many different possibilities. There are loads of Content Management Systems (or CMSs) that have been created to solve that very problem.
But if you’re a solo developer or a small team, you don’t need to pay for an external service. There is a better solution, and that solution is Markdown.
Allow me to explain:
1. Why I use Markdown with NextJS (and why it might be a good idea for you, too if you use NextJS)
2. What problems I encountered when working with Markdown
3. And how I use a tool called ContentLayer to solve these problems
Let’s dive in !
-----------
Resources:
ContentLayer : https://contentlayer.dev/
ShadCN's Taxonomy Repo : https://github.com/shadcn-ui/taxonomy
My Website : https://kodaps.dev/en/
Sign up for my newsletter: https://www.kodaps.dev/en/newsletter
#nextjs #markdown #backend