This project is currently not maintained. If you actively use this plugin, please consider becoming a maintainer.
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. 🚀
The full docs are found at https://gatsbythemeshopifymanager.com/.
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:
/docs
version of gatsby-theme-shopify-manager
to whatever it will be.yarn version
within the gatsby-theme-shopify-manager
directory.git push --tags
and git push
.npm publish
.