Quick Start
Create Your First Page
Create a new file at pages/index.mdx
:
# Welcome to My Documentation
This is my first page using Nextra!
Add More Pages
Create additional pages in the pages
directory:
# About
This is the about page.
Customize Navigation
Edit pages/_meta.js
to customize your navigation:
export default {
"index": "Introduction",
"about": "About"
}
Add Components
You can use React components in your MDX files:
import { Button } from 'your-components'
<Button>Click me!</Button>