Fumadocs + next-slug-splitter

Keep heavy custom components page-specific

Keep broad documentation routes and the standard Fumadocs experience without making every page download every heavy MDX component.

What this integration gives you

  • Standard Fumadocs

    Keep the normal docs layout, page tree, search, MDX rendering, and public route structure.

  • Page-specific heavy UI

    Load interactive components only for the documentation pages that actually use them.

  • Stable documentation URLs

    Preserve the authored `/docs` routes while generated handlers provide isolated bundle boundaries internally.