/gatsby-config.js Secret
Last active
June 5, 2018 12:41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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