This is a very basic example of data fetching + revalidateTag
implemented in a Next.js application
and deployed to Cloudflare Pages via next-on-pages.
To locally test/run the application, start by installing the dependencies with:
$ npm i
then you can:
- run the application using the Next.js dev server with:
$ npm run dev
- preview it using the wrangler cli tool with:
$ npm run dev
- deploy it with:
$ npm run deploy