this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 41 lines 2.1 kB view raw view rendered
1# Deploy Next.js apps to Cloudflare 2 3[OpenNext for Cloudflare](https://opennext.js.org/cloudflare) is an adapter that enables the deployment of Next.js applications to Cloudflare's developer platform. 4 5This monorepo includes a package for adapting a Next.js application built via `next build` (in standalone mode) to run in the Cloudflare workerd runtime using the [Workers Node.js compatibility layer](https://developers.cloudflare.com/workers/runtime-apis/nodejs/). 6 7## Get started 8 9Visit the [OpenNext docs](https://opennext.js.org/cloudflare/get-started) for instructions on starting a new project, or migrating an existing one. 10 11## Contributing 12 13### The repository 14 15The repository contains two directories: 16 17- `packages` containing a cloudflare package that can be used to build a Cloudflare Workers-compatible output for Next.js applications. 18- `examples` containing Next.js applications that use the above mentioned cloudflare package. 19 20### How to try out the `@opennextjs/cloudflare` package 21 22You can simply install the package from npm as specified in the [OpenNext documentation](https://opennext.js.org/cloudflare/get-started). 23 24#### Prereleases 25 26Besides the standard npm releases we also automatically publish prerelease packages on branch pushes (using [`pkg.pr.new`](https://github.com/stackblitz-labs/pkg.pr.new)): 27 28- `https://pkg.pr.new/@opennextjs/cloudflare@main`: 29 Updated with every push to the `main` branch, this prerelease contains the most up to date yet (reasonably) stable version of the package. 30- `https://pkg.pr.new/@opennextjs/cloudflare@experimental` 31 Updated with every push to the `experimental` branch, this prerelease contains the latest experimental version of the package (containing features that we want to test/experiment on before committing to). 32 33Which you can simply install directly with your package manager of choice, for example: 34 35```bash 36npm i https://pkg.pr.new/@opennextjs/cloudflare@main 37``` 38 39### How to develop in the repository 40 41See the [CONTRIBUTING](./CONTRIBUTING.md) page for how to get started with this repository.