NextJS 13 with Mdx and custom Components

Published: 13 Nov 2022

This article is related to NextJS 13 (beta), and may not work with prior releases.

Setting up NextJS

npx create-nextjs --typescript

Required Dependencies

Static Page

Generate Static Page

Writing a MDX file

Rendering MDX