Use as Page
Use MDX file as a page
Setup
You can use page.mdx
instead of page.tsx
for creating a new page under the app directory.
However, it doesn't have MDX components by default so you have to provide them:
Usage
How is this guide?
Use MDX file as a page
You can use page.mdx
instead of page.tsx
for creating a new page under the app directory.
However, it doesn't have MDX components by default so you have to provide them:
How is this guide?