Community Plugin
View plugin on GitHub
Quickstart guide
Install this with npm:
npm install gatsby-theme-shopify-managerOr with yarn:
yarn add gatsby-theme-shopify-managerSet 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:
- Increment the /docsversion ofgatsby-theme-shopify-managerto whatever it will be.
- Stage any changes you want to be part of the commit.
- Run yarn versionwithin thegatsby-theme-shopify-managerdirectory.
- Change the version number to the appropriate release number (major, minor, patch).
- Run git push --tagsandgit push.
- Run npm publish.