Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gridsome/gridsome-starter-contentful

😎 Contentful starter for Gridsome
https://github.com/gridsome/gridsome-starter-contentful

contentful contentful-api

Last synced: 2 months ago
JSON representation

😎 Contentful starter for Gridsome

Awesome Lists containing this project

README

        

# Contentful Starter for Gridsome

## Guide

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

```js
// 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'
}
}
]
}
```