@moltin/gatsby-source-moltin

1.9.1 • Public • Published

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
        }
      }
    }
  }
}

/@moltin/gatsby-source-moltin/

    Package Sidebar

    Install

    npm i @moltin/gatsby-source-moltin

    Weekly Downloads

    22

    Version

    1.9.1

    License

    MIT

    Unpacked Size

    249 kB

    Total Files

    10

    Last publish

    Collaborators

    • bsteinbach.ep
    • samblacklock
    • itaccounts-ep
    • ben.durmishllari
    • moltinbot