The code that powers kobra's website
Create the following env files:
.env.local:NEXT_PUBLIC_CONTENTFUL_SPACE_ID=[Insert space ID (not the name) here] NEXT_PUBLIC_CONTENTFUL_ACCESS_TOKEN=[Insert access token here].env.contentful-codegen:CONTENTFUL_CONTENT_TOKEN=[Insert previous access token here] CONTENTFUL_MANAGEMENT_TOKEN=[Insert management token (not the same as the access token) here] CONTENTFUL_SPACE_ID=[Insert space ID from previous file here]
Next, install all of the packages in the main package:
yarnNext, update the generated types by running:
yarn gql-codegenFinally, run the development server:
npm run dev
# or
yarn devWe appriciate your help!, Before Contributing read guidelines first