@stakeordie/source-strapi

0.4.0 • Public • Published

@gridsome/source-strapi

Strapi source for Gridsome

Install

  • yarn add @stakeordie/source-strapi
  • npm install @stakeordie/source-strapi

Usage

export default {
  plugins: [
    {
      use: '@gridsome/source-strapi',
      options: {
        apiURL: 'http://localhost:1337',
        queryLimit: 1000, // Defaults to 100
        contentTypes: ['article', 'user'],
        singleTypes: ['impressum'],
        // Possibility to login with a Strapi user,
        // when content types are not publicly available (optional).
        loginData: {
          identifier: '',
          password: ''
        }
      }
    }
  ]
}

Package Sidebar

Install

npm i @stakeordie/source-strapi

Weekly Downloads

3

Version

0.4.0

License

MIT

Unpacked Size

10.5 kB

Total Files

8

Last publish

Collaborators

  • the_dusky
  • victor-stakeordie
  • luis-stkdie