Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

@moltin/gatsby-source-moltin

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

Install

npm i @moltin/gatsby-source-moltin

DownloadsWeekly Downloads

422

Version

1.8.0

License

MIT

Unpacked Size

231 kB

Total Files

10

Last publish

Collaborators

  • avatar