Cloudflare
Examples

Examples

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

npm create cloudflare@latest -- my-next-app --framework=next --experimental

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).