Hey Webflow developers! ![]()
I built a production-ready template for deploying Nextra 4.0 documentation sites to Webflow Cloud.
GitHub
https://github.com/lvsao/webflow-nextra
LIVE DEMO
https://selofy.com/nextrademo
What It Solves
Deploying Nextra (Next.js-based docs framework) to Webflow Cloud isn’t straightforward due to edge runtime limitations. This template handles:
-
Edge Runtime Compatibility - Node.js fsmodule workarounds -
Cloudflare Workers - Proper webpack & OpenNext configuration -
File System Scanning - Build-time operations for navigation -
Complete SEO - Open Graph, Twitter Cards, metadata -
Production Deployment - Real configuration that works
Tech Stack
-
Next.js 15 (App Router)
-
Nextra 4.0
-
TypeScript
-
Cloudflare Workers
-
OpenNext adapter
Key Features
Working Configuration
-
next.config.tswith edge runtime settings -
mdx-components.tsxfor theme integration -
wrangler.jsonwith nodejs_compat flag
Full Documentation
-
Quick start guide
-
Deployment instructions (GitHub + CLI)
-
Common issues & solutions
-
Edge runtime architecture explanation
GitHub & CLI Deploy
-
Auto-deploy on push (GitHub integration)
-
Manual deploy via
webflow cloud deploy
Perfect For
-
Developer documentation sites
-
API references
-
Product guides
-
Knowledge bases
Repository
All configuration files, guides, and examples included:
MIT Licensed - Free to use and modify.