This is a NextJS application, showing you can pull data from Sitecore Experience Edge for Content Hub.
- Create a .env file in the root of your repo on disk
- Populate it as so
CH_TOKEN="<<CH_PREVIEW_TOKEN>>"
CH_URL="<<CH_PREVIEW_URL>>"
TBC...
- Run
npm i
to install the node dependencies - Run
npm run dev
to run the site - Access the site on
http://localhost:3000