Shipping MDX Posts with App Router
This post lives in content/posts/welcome-to-raptor.mdx and is published under the Ford Raptor section.
Why this setup?
- Frontmatter is validated in
lib/posts.ts. - Routes are statically generated with
generateStaticParams. - MDX content is compiled on the server with
next-mdx-remote/rsc.
export const dynamicParams = false;