npm install
npm run dev
In order to successfully run npm run contentful-typescript-codegen
, you need to add the CONTENTFUL_MANAGEMENT_API_ACCESS_TOKEN
to your local .env
file. You can generate this token in the Contentful web app under Settings > API keys > Content management tokens
.