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:
- Increment the
/docs
version ofgatsby-theme-shopify-manager
to whatever it will be. - Stage any changes you want to be part of the commit.
- Run
yarn version
within thegatsby-theme-shopify-manager
directory. - Change the version number to the appropriate release number (major, minor, patch).
- Run
git push --tags
andgit push
. - Run
npm publish
.