npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

@gridsome/source-ghost

0.1.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'
      }
    }
  ],
  templates: {
    GhostPost: '/:year/:month/:day/:slug',
    GhostTag: '/tag/:slug'
  }
}

install

npm i @gridsome/source-ghost

Downloadsweekly downloads

35

version

0.1.1

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability