Back to Next Js

Contentlayer Example

examples/with-contentlayer/README.md

16.2.81.1 KB
Original Source

Contentlayer Example

This example shows how to integrate Contentlayer in Next.js. Learn more about Contentlayer.

Deploy your own

How to use

Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:

bash
npx create-next-app --example with-contentlayer with-contentlayer-app
bash
yarn create next-app --example with-contentlayer with-contentlayer-app
bash
pnpm create next-app --example with-contentlayer with-contentlayer-app

Deploy it to the cloud with Vercel (Documentation).