Skip to content

Instantly share code, notes, and snippets.

@jazibsawar
Created January 28, 2019 22:25
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jazibsawar/c619b1caabcb1d0f0b13a5208cb170f6 to your computer and use it in GitHub Desktop.
// gridsome-blog-cosmicjs/gridsome.config.js
// gridsome-blog-cosmicjs/gridsome.config.js
module.exports = {
siteName: 'Gridsome Blog Cosmic JS',
plugins: [
{
use: 'gridsome-source-cosmicjs',
options: {
bucketSlug: 'gridsome-blog-cosmicjs',
objectTypes: [`posts`, `settings`],
apiAccess: {
read_key: 'g9FO33DH9ZyVfpM76b3EAx9b0dBc22ihePxI3BvlBxtYiTzITR'
}
},
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment