Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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