gatsby-source-feliks

3.7.5 • Public • Published

gatsby-source-feliks

Source plugin for pulling data into Gatsby from a feliks JSON endpoint.

Install

npm install --save gatsby-source-feliks

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: 'gatsby-source-feliks',
    options: {
      apiURL: 'apiURL',
      username: 'username',
      password: 'password',
      useMock: false,
      mockPath: 'path/to/mockfile.json',
      excludeStatusCodes: ['120', '101']
    }
  },
];

Package Sidebar

Install

npm i gatsby-source-feliks

Weekly Downloads

2

Version

3.7.5

License

MIT

Unpacked Size

10.5 kB

Total Files

6

Last publish

Collaborators

  • herlufb
  • herlufbaggesen