Need private packages and team management tools?Check out npm Teams »

@gridsome/source-strapi

0.1.0 • Public • Published

@gridsome/source-strapi

Strapi source for Gridsome

Install

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

Usage

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

Install

npm i @gridsome/source-strapi

DownloadsWeekly Downloads

41

Version

0.1.0

License

none

Unpacked Size

5.13 kB

Total Files

6

Last publish

Collaborators

  • avatar