gatsby-source-jsonapi

1.0.0 • Public • Published

Gatsby Source JSONAPI

JSONAPI compliant source plugin for Gatsby

Installation

NPM

    npm i --save gatsby-source-jsonapi

Yarn

    yarn add gatsby-source-jsonapi

In gatsby-config.js:

  module.exports = {
    plugins: [
      {
        resolve: 'gatsby-source-jsonapi',
        options: {
          resource: 'product'
        }
      }
    ]
  };

Configuration Options

These options are passed directly to the Gatsby config as seen in the install section.

Option Default Description
resource none (required) Name of resource to be used from JSONAPI

Other options are available through environment variables set in an .env file. See Data bite for these options

Package Sidebar

Install

npm i gatsby-source-jsonapi

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

3.52 kB

Total Files

4

Last publish

Collaborators

  • truemedia