logo

Next.js 13 with Contentlayer & TailwindCSS

This article is still being worked on!

Installation

pnpm create next-app
  • Install contentlayer
pnpm install next-contentlayer
  • Then wrap your next configuration object in the withContentlayer utility
// next.config.js
import { withContentlayer } from "next-contentlayer";
export default withContentlayer({});