@kriya/gridsome-source-datocms
v0.3.0
Published
DatoCMS source for Gridsome
Downloads
2
Maintainers
Readme
@gridsome/source-datocms
DatoCMS source for Gridsome. This package is under development and API might change before v1 is released.
Install
npm install @gridsome/source-datocms
yarn add @gridsome/source-datocms
pnpm install @gridsome/source-datocms
Usage
module.exports = {
plugins: [
{
use: '@gridsome/source-datocms',
options: {
apiToken: 'YOUR_READONLY_API_TOKEN', // required
previewMode: false,
apiUrl: 'https://site-api.datocms.com',
typeName: 'DatoCms'
}
}
]
}