@sb-konzept/gatsby-source-storyblok

    3.0.0 • Public • Published

    GraphQL Fragment Generation

    gatsby-config.js
    options: {
      generateFragments: true
    }
    

    will autogenerate complete graphql fragments

    gatsby-config.js
    options: {
      generateFragments: [{fragment: 'StoryblokMarkdown', addToQuery: 'childMarkdownRemark { htmlAst }'}]
    }
    

    to use gatsby-transformer-remark

    gatsby-config.js
    options: {
      generateFragments: [{fragment: 'StoryblokTile', images: [{ path: ['backgroundImage'], type: 'fluid', maxWidth: 600}]}]
    }
    

    to use with gatsby-image

    Keywords

    none

    Install

    npm i @sb-konzept/gatsby-source-storyblok

    DownloadsWeekly Downloads

    210

    Version

    3.0.0

    License

    MIT

    Unpacked Size

    88.6 kB

    Total Files

    38

    Last publish

    Collaborators

    • prio