Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 570 Bytes

README.md

File metadata and controls

27 lines (24 loc) · 570 Bytes

Contentful Starter for Gridsome

Guide

Add your Contentful Space ID and Access Token to the plugin options.

// gridsome.config.js
module.exports = {
  templates: {
    // Add templates for content types here.
    // Read more: https://gridsome.org/docs/templates/
  },
  plugins: [
    {
      use: '@gridsome/source-contentful',
      options: {
        space: 'SPACE_ID', // required
        accessToken: 'ACCESS_TOKEN', // required
        host: 'cdn.contentful.com',
        environment: 'master',
        typeName: 'Contentful'
      }
    }
  ]
}