@moltin/gatsby-source-moltin
v1.9.1
Published
Gatsby source plugin for building Moltin powered eCommerce websites
Downloads
35
Readme
gatsby-source-moltin
🚀 Gatsby source plugin for building Moltin powered eCommerce websites.
Install
yarn add @moltin/gatsby-source-moltin
How to use
// In your gatsby-config.js
plugins: [
{
resolve: `@moltin/gatsby-source-moltin`,
options: {
client_id: '...'
},
},
],
How to query
{
allMoltinProduct {
edges {
node {
id
name
description
slug
sku
categories {
id
name
}
}
}
}
}