Files
next.js/examples/markdoc
1948f5b4ba fix(create-next-app): link to app dir docs in next-env.d.ts in app dir templates (#68534)
Fixes #68533

A link to docs in `next-dev.d.ts` linked to the pages router docs in app
router templates. This was confusing, because some sections on this page
only work with pages router. This PR fixes that

---------

Co-authored-by: Sam Ko <[email protected]>
2024-08-09 22:21:28 +00:00
..

Example app with Markdoc

This example shows using Markdoc as top level pages for your Next.js app.

Deploy your own

Deploy the example using Vercel or preview live with StackBlitz

Deploy with Vercel

How to use

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

npx create-next-app --example markdoc markdoc-app
yarn create next-app --example markdoc markdoc-app
pnpm create next-app --example markdoc markdoc-app

Deploy it to the cloud with Vercel (Documentation).