This is another light page. It uses standard Markdown plus a lightweight component from the MDX component scope.
To integrate next-slug-splitter into your Next.js project:
pnpm add next-slug-splitter
import { withSlugSplitter } from 'next-slug-splitter/next';
export default withSlugSplitter(nextConfig, {
routeHandlersConfig
});
Each target represents a content section (e.g. docs, blog) with its own catch-all route and content directory.
next build
The Next adapter analyzes your MDX content and generates optimized route handlers automatically during the build. The standalone CLI is optional.
The library generates generated-handlers/ files next to your catch-all route.
These files are gitignored and recreated on every build.