npm install contentful
npm install @vespaiach/axios-fetch-adapter
import { createClient } from 'contentful';
import fetchAdapter from '@vespaiach/axios-fetch-adapter';
// the same works for contentful-management
const client = createCLient({
space: '<space-id>',
accessToken: '<access-token>',
adapter: fetchAdapter
});