1.1.0 • Published 5 years ago

@nearform/gatsby-source-contentful v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

gatsby-source-contentful

IMPORTANT NOTICE

This is a fork of the original repository containing a bug fix specific to this issue.

Do not use this package unless you're encountering that specific issue.

Install

npm install --save @nearform/gatsby-source-contentful

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: `@nearform/gatsby-source-contentful`,
      options: {
        spaceId: `your_space_id`,
        // Learn about environment variables: https://gatsby.app/env-vars
        accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
      },
    },
  ],
}