Community Plugin
View plugin on GitHubchange-incorporated/gatsby-source-contentful-fast
IMPORTANT NOTICE
This is NOT a FORK of the original REPO and has content merged from both:
- https://github.com/gatsbyjs/gatsby
- https://github.com/nearform/gatsby/tree/master/packages/gatsby-source-contentful
- … and contains a bug fix specific to this issue
Do not use this package unless you’re encountering that specific issue, and want to render only content based on webhook calls.
Install
npm install --save @change-inforporated/gatsby-source-contentful-fast
How to use
Follow the instruction of the official plugin. The only difference is in the package name, which needs to reflect in the gastby configuration file.
// In your gatsby-config.js
module.exports = {
plugins: [
{
resolve: `@change-inforporated/gatsby-source-contentful-fast`,
options: {
spaceId: `your_space_id`,
// Learn about environment variables: https://gatsby.app/env-vars
accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
},
},
],
}