https://github.com/ncrmro/nextjs-statically-exported-cloudflare-worker
A statically exported NextJS Site deployed to a Cloudflare worker.
https://github.com/ncrmro/nextjs-statically-exported-cloudflare-worker
cloudflare nextjs nodejs react reactjs serverless service-worker static-site
Last synced: 2 months ago
JSON representation
A statically exported NextJS Site deployed to a Cloudflare worker.
- Host: GitHub
- URL: https://github.com/ncrmro/nextjs-statically-exported-cloudflare-worker
- Owner: ncrmro
- Created: 2021-01-31T18:21:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-01T03:59:53.000Z (over 5 years ago)
- Last Synced: 2025-10-30T17:48:34.368Z (8 months ago)
- Topics: cloudflare, nextjs, nodejs, react, reactjs, serverless, service-worker, static-site
- Language: JavaScript
- Homepage:
- Size: 44.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NextJS Statically Exported Cloudflare Worker
- [Nextjs docs](https://nextjs.org/docs)
- [Offical Cloudflare Workers Docs](https://developers.cloudflare.com/workers/learning/getting-started)
```bash
yarn global add @cloudflare/wrangler
```
```bash
wrangler login
```
You will also need to set your `account` and `zone` ids in the wrangler.toml.
## Building & Publishing
```bash
yarn build
```
```bash
yarn pub
```