This example shows using MDX as top level pages for your next.js app.
Deploy the example using Vercel or preview live with StackBlitz
Execute create-next-app with npm, Yarn, pnpm, or Bun to bootstrap the example:
npx create-next-app --example mdx mdx-appyarn create next-app --example mdx mdx-apppnpm create next-app --example mdx mdx-appbunx create-next-app --example mdx mdx-appDeploy it to the cloud with Vercel (Documentation).