Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

next-on-pages

> 前端框架
Open source

CLI to build and develop Next.js apps for Cloudflare Pages

1.5K stars0 likes1 views
WebsiteGitHub

About

CLI to build and develop Next.js apps for Cloudflare Pages

> [!WARNING] > > >

⚠️ ⚠️

> > The next-on-pages package is deprecated, if you want to deploy a Next.js application on Cloudflare, please use the [OpenNext Cloudflare adapter](https://opennext.js.org/cloudflare) instead. > If you have a Next.js application that already uses next-on-pages the [OpenNext getting started guide for existing applications](https://opennext.js.org/cloudflare/get-started#existing-nextjs-apps) presents instructions on how to migrate to the OpenNext adapter. > > >

⚠️ ⚠️

⚡▲ @cloudflare/next-on-pages ▲⚡

Build, develop, and deploy Next.js apps for Cloudflare Pages.

> [!NOTE] > The best way to run Next.js apps on Cloudflare is to use [`@opennextjs/cloudflare`](https://opennext.js.org/cloudflare). If you're coming from Vercel, you can migrate your Next.js app easily using [Diverce](https://github.com/ygwyg/diverce), which can also help you migrate from `@cloudflare/next-on-pages` `@cloudflare/next-on-pages` is a CLI tool that you can use to build and develop [Next.js](https://nextjs.org/) applications so that they can run on the [Cloudflare Pages](https://pages.cloudflare.com/) platform. Alongside the `@cloudflare/next-on-pages` there is an additional package `eslint-plugin-next-on-pages` implementing an Eslint plugin which aim is to aid developers at using the `@cloudflare/next-on-pages` more efficiently and improve their overall developer experience when working with it. You can see the packages contents (with their documentation) in their respective package directories: - [`@cloudflare/next-on-pages`](https://github.com/cloudflare/next-on-pages/tree/main/packages/next-on-pages#cloudflarenext-on-pages) - [`eslint-plugin-next-on-pages`](https://github.com/cloudflare/next-on-pages/tree/main/packages/eslint-plugin-next-on-pages#eslint-plugin-next-on-pages) Additionally there is also the `next-dev` submodule which is implemented as a separate package in this repository but included as a submodule of the main `@cloudflare/next-on-pages` package, you can see the submodule's content here: - [`@cloudflare/next-on-pages/next-dev`](https://github.com/cloudflare/next-on-pages/tree/main/internal-packages/next-dev) ## Contributing If you want to contribute to this project (both to the main package and the eslint one) please refer to the [Contributing document](./docs/contributing.md). ## References Extra references you might be interested in: - [Blog post](https://blog.cloudflare.com/next-on-pages) The original blog post introducing `@cloudflare/next-on-pages` (24/10/2022), it goes into details on the inspiration for this package and provides some details on how it works. - [Cloudflare Next.js Guide](https://developers.cloudflare.com/pages/framework-guides/deploy-a-nextjs-site/) Cloudflare guide on how to create and deploy a Next.js application. The application can be either static (and deployed as simple static assets) or dynamic using the edge runtime (using `@cloudflare/next-on-pages`). - [Caching and Data Revalidation](./packages/next-on-pages/docs/caching.md) Documentation on how the caching and data revalidation for applications built using `@cloudflare/next-on-pages` works. - [Technical Documentation](./docs/technical) Explanations and insights into how `@cloudflare/next-on-pages` works, design decisions behind different aspects, and how it handles different Next.js features.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptcloudflare-pagesnextjs

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架