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, or pnpm to bootstrap the example:
npx create-next-app --example mdx-pages mdx-pages-appyarn create next-app --example mdx-pages mdx-pages-apppnpm create next-app --example mdx-pages mdx-pages-appDeploy it to the cloud with Vercel (Documentation).