This example shows how to integrate Contentlayer in Next.js. Learn more about Contentlayer.
Deploy the example using Vercel or preview live with StackBlitz
Execute create-next-app
with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-contentlayer with-contentlayer-app
# or
yarn create next-app --example with-contentlayer with-contentlayer-app
Deploy it to the cloud with Vercel (Documentation).