This repository contains a test/demo on how to access Cloudflare Bindings using the @cloudflare/next-on-pages
'' next-dev
sub-module (using its new stable API, introduced in cloudflare/next-on-pages#612).
After installing the dependencies:
npm i
Run the workers (that get bound to the Next.js application) and the Next.js application in parallel with:
npm start
By then opening the browser at the application's root you should see the following home screen showcasing the fact that the application has access to the various type of bindings: