@gridsome/source-ghost

0.4.0 • Public • Published

@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'
  }
}

Package Sidebar

Install

npm i @gridsome/source-ghost

Weekly Downloads

5

Version

0.4.0

License

none

Unpacked Size

13.1 kB

Total Files

6

Last publish

Collaborators

  • hjvedvik