cd gridsome-starter-buttercms
npm install
customer_case_study
page type in your ButterCMS account by following simple steps https://buttercms.com/docs/api-client/gridsome#PagesPageTypemodule.exports = {
siteName: 'Gridsome',
plugins: [
{
use: 'gridsome-source-buttercms',
options: {
authToken: '<your_token>', // change to your read API token
collections: [''],
pages: '',
pageTypes: 'customer_case_study'
}
}
]
}
8080
npm run develop
ButterCMS can be used as a gridsome cms and gridsome blog engine. This starter project demonstrates how to use Butter with Gridsome.