Dynamic Routes
Each post uses
/posts/[slug] — a dynamic route that extracts the URL parameter automatically.What is OpenNext?
Next.js reimplemented on top of Vite with Cloudflare Workers deploy.
Server vs Client Components
When to use each one and how it affects bundle size.
Deploy to Cloudflare Workers
Zero cold starts, global edge, and native KV, R2, D1 bindings.
Vite Plugin Ecosystem
How to leverage the Vite ecosystem inside opennext.
What does this show?
- ‣Dynamic routes with
[slug]in the filesystem - ‣Parameters extracted automatically via
params - ‣
generateMetadatafor dynamic per-page SEO - ‣Unknown routes automatically fall into
notFound()