@gridsome/source-ghost
v0.4.0
Published
ghost source for Gridsome
Downloads
5
Maintainers
Readme
@gridsome/source-ghost
Ghost source for Gridsome. This package is under development and API might change before v1 is released.
Install
yarn add @gridsome/source-ghost
npm install @gridsome/source-ghost
Usage
module.exports = {
plugins: [
{
use: '@gridsome/source-ghost',
options: {
typeName: 'Ghost',
baseUrl: 'http://localhost:2368',
contentKey: '0b7050113fba7147f358cc2f4d',
version: 'v3' // default
}
}
],
templates: {
GhostPost: '/:year/:month/:day/:slug',
GhostTag: '/tag/:slug'
}
}