Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

@gridsome/source-ghost

0.3.1 • 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'
  }
}

Install

npm i @gridsome/source-ghost

DownloadsWeekly Downloads

89

Version

0.3.1

License

none

Unpacked Size

11.3 kB

Total Files

6

Last publish

Collaborators

  • avatar