thetrevorharmon / gatsby-theme-shopify-manager

The easiest way to start a Shopify shop on Gatsby.
https://gatsby-theme-shopify-manager.netlify.app/
MIT License
120 stars 11 forks source link

Gatsby Theme Shopify_Manager

Netlify Status

Looking for maintainers

This project is currently not maintained. If you actively use this plugin, please consider becoming a maintainer.

Quickstart guide

Install this with npm:

npm install gatsby-theme-shopify-manager

Or with yarn:

yarn add gatsby-theme-shopify-manager

Set up your gatsby-config.js:

{
  resolve: `gatsby-theme-shopify-manager`,
  options: {
    shopName: `your-shop-name`,
    accessToken: `your-storefront-api-access-token`,
  },
},

Import a hook:

import {useCart} from 'gatsby-theme-shopify-manager';

Start coding. 🚀

Full documentation

The full docs are found at https://gatsbythemeshopifymanager.com/.

Contributing

To contribute to this repo, pull the repo and ask for the appropriate .env values for the /docs site. Then to start the project, simply run yarn start at the project root.

To add a new version, take the following steps:

  1. Increment the /docs version of gatsby-theme-shopify-manager to whatever it will be.
  2. Stage any changes you want to be part of the commit.
  3. Run yarn version within the gatsby-theme-shopify-manager directory.
  4. Change the version number to the appropriate release number (major, minor, patch).
  5. Run git push --tags and git push.
  6. Run npm publish.