# Pages Router on Cloudflare Workers
A minimal example of a Next.js Pages Router application running on Cloudflare Workers via vinext.
Demonstrates `getServerSideProps`, `next/head`, `next/link`, dynamic routes, and API routes.
## Running Locally
1. Install dependencies:
```sh
pnpm install
```
2. Start the dev server:
```sh
pnpm dev
```
3. Build for production:
```sh
pnpm build
```
4. Preview the production build:
```sh
pnpm preview
```cloudflare/vinext
Publicmirrored from https://github.com/cloudflare/vinextAvailable
examples/pages-router-cloudflare/README.md
31lines · modepreview