Skip to content

Instantly share code, notes, and snippets.

@jazibsawar jazibsawar/gatsby-config.js Secret
Last active Jun 5, 2018

Embed
What would you like to do?
module.exports = {
plugins: [
`gatsby-plugin-offline`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/pages`,
name: 'pages',
},
},
{
resolve: 'gatsby-source-cosmicjs',
options: {
bucketSlug: 'gatsby-blog-cosmic-js', // Bucket Slug
objectTypes: ['posts','settings'], // List of the Object Types you want to be able to request from Gatsby.
apiAccess: {
read_key: '',
}
}
},
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.