/nextjs-mdx-blog

UPDATED to Next.js App Router! Starter template built with Contentlayer, MDX, shadcn-ui, and Tailwind CSS.

Primary LanguageTypeScript

NextJS - MDX - shadcn-ui - Tailwind - Blog

UPDATED on 2023-08-22 to use Next.js App Router!

A Next.js starter template for your next blog or personal site. Built with:

This Starter is heavily inspired by Lee Robinson.

👀 View the Live Demo

Getting Started

git clone https://github.com/ChangoMan/nextjs-mdx-blog.git
cd nextjs-typescript-mdx-blog

npm install

npm run dev

Your new site will be up at http://localhost:3000/

Blog posts can be added to the posts directory, in the root folder.

Update the WEBSITE_HOST_URL when taking your site live. This lives in /src/lib/constants.ts

Make sure to update the sitemap.ts file, specifically the const routes if you add more pages to the website.