@sb-konzept/gatsby-source-storyblok
v3.0.0
Published
``` gatsby-config.js options: { generateFragments: true } ```
Downloads
30
Readme
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