1.0.2 • Published 4 years ago

@shycat/shycat-theme-shopify v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Basic Shopify Theme for Gatsby

Quick Start

mkdir my-site
cd my-site
yarn init
# install shycat-theme-shopify and it's dependencies
yarn add gatsby react react-dom shycat-theme-shopify

Then add the theme to your gatsby-config.js. We'll use the long form here for education purposes.

module.exports = {
  plugins: [
    {
      resolve: "@shycat/shycat-theme-shopify",
      options: {
        shopifyShopName: 'shop-name',
        shopifyAccessToken: 'get access code from shopify storefront api'
      },
    },
  ],
}

That's it, you can now run your gatsby site using

yarn gatsby develop