Skip to Content
🚧 This is WIP documentation for Nextra 4.0. Dima Machina is looking for a new job or consulting .

page.mdx File

page file is a special Next.js App Router convention file  which allows you to define UI that is unique to a route:

    • layout.jsx
    • page.jsx
      • page.mdx
        • page.mdx
💡
Tip

By default, the .js, .jsx, or .tsx file extensions can be used for page.
Nextra enhance them with .md and .mdx extensions.

Last updated on