Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dario-piotrowicz/next-on-pages-get-request-context-test-demo
https://github.com/dario-piotrowicz/next-on-pages-get-request-context-test-demo
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dario-piotrowicz/next-on-pages-get-request-context-test-demo
- Owner: dario-piotrowicz
- Created: 2024-02-06T23:37:13.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-09T11:33:26.000Z (9 months ago)
- Last Synced: 2024-04-18T06:19:59.094Z (7 months ago)
- Language: CSS
- Size: 120 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# next-on-pages `getRequestContext` test/demo
This repository contains a test/demo on the new `getRequestContext` being introduced in `@cloudflare/next-on-pages` (https://github.com/cloudflare/next-on-pages/pull/659).
## To run it
After installing the dependencies:
```sh
npm i
```and then simply run
```sh
npm run dev
```and
```sh
npm run pages:preview
```to see examples of the `getRequestContext` usage both in dev and preview