Skip to content

damontes/gatsby-theme-shopify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gatsby Theme Shopify

See the live demo

Installation

To use this theme in your Gatsby sites, just follow these instructions:

  1. Install theme
  npm install @plukke/gatsby-theme-shopify

or

    yarn add @plukke/gatsby-theme-shopify
  1. Add the theme to your gatsby-config.js

    module.exports = {
        plugins: [
            { 
            resolve: 'gatsby-theme-shopify',
            options: {
              shopName: "graphql", // Required
              accessToken: 'dd4d4dc146542ba7763305d71d1b3d38',  // Required
              imagesPath: 'src/images', // Required
              contentPath: 'data', // Required
              email: '',
              socialMedia: {
                facebook: '',
                instagram: '',
                twitter: ''
              },
              apiData: {
                url: '',
                baseURL: '',
                auth: {
                  username: '',
                  password: ''
                }
              }
            }
          }
        ]
    }
  2. Create you data for each section of the pages, in the case of the header image it is necessary that you named "logo".

        data 
            - sections.json
                [
                    {
                		"id": "1",
                		"path": "/",
                		"title": "",
                		"description": ""
                    }
                ]
  3. Start the demo site.

    gatsby develop

Features

- Index products in alogolia for search
- More Customaizable pages
- Add pages dinamically

The demo will start at http://localhost:8000

About

An example submission for the Gatsby Theme Jam.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%