You'll need a set of credentials for our Contentful account.
Create a file at ./.env.local
with your personal credentials. An example:
CONTENTFUL_ACCESS_KEY=l-C5F3_*****
First, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.
This code base uses a set of tools provided by Contentful and the community to generate type definitions: You can then use the cli with a personal access token from your account to export space's content model definitions:
cf-content-types-generator -o generated/contentful -s dtb5w0ega2aw -t CFPAT-****
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
This repository is connected to our Vercel account and will automatically deploy when main
is updated.
Check out our Next.js deployment documentation for more details.
See our internal backlog in Azure DevOps.