Cloudflare
Examples

Examples

To create a new Next.js app, pre-configured to run on Cloudflare using @opennextjs/cloudflare, run:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/11040899018/npm-package-create-cloudflare-6830 --no-auto-update --experimental --framework next

Basic starter projects

Two basic example apps are included in the repository for @opennextjs/cloudflare package:

You can use these to understand how to configure your Next.js app to use @opennextjs/cloudflare, or refer to Get Started.

Next.js Commerce Demo

The Next.js Commerce demo app (opens in a new tab) works with @opennextjs/cloudflare. You can view a deployed version of it here (opens in a new tab).