Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

dkc85/shopify-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

117 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopify Barebone Theme

The Shopify Barebone Theme is a custom, Node based, developers workflow / starting point for creating awesome Shopify themes, the sexy way! This repository makes us of gulp to support jade templating, template partials, scss partials, merging and uglifying scripts and styles, copying assets, building a shopify compatible build folder, syncing the whole lot with your dev / live store and much more!

Contains

Installation

  • Copy the repo into a local folder and run npm install
  • Configure the shopify upload plugin by renaming the /gulpfile.js/config/shopifyCredentials-sample.js to /gulpfile.js/config/shopifyCredentials.js and fill in your shopify private app credentials which you can find on https://myshop.myshopify.com/admin/apps
  • For initial build and upload Run default gulp task. This will fire the following things:
    • Check if Bower dependencies are installed and if not, installs them
    • Cleans build folder if exists
    • Builds templates, scripts, styles and distribute to appropiate folder in build
    • copies images and config files to build folder
  • Run gulp watch to compile templates on changes and upload them directly to your shopify theme

Build file/folder structure

When you build the app by running gulp it will distribute your files into the build folder with the following Shopify compatible file/folder structure:

.
├── assets
│   ├── screen.css.liquid
│   └── script.min.js
├── config
│   ├── settings.html
│   └── settings_data.json
├── layout
│   └── theme.liquid
├── snippets
│   ├── article-grid-item.liquid
│   ├── collection-grid-item.liquid
│   ├── collection-listing.liquid
│   ├── open-graph-tags.liquid
│   ├── product-grid-item.liquid
│   ├── site-nav.liquid
│   ├── social-links.liquid
│   └── twitter-card.liquid
└── templates
    ├── 404.liquid
    ├── article.liquid
    ├── blog.grid.liquid
    ├── blog.liquid
    ├── cart.liquid
    ├── collection.liquid
    ├── index.liquid
    ├── list-collections.liquid
    ├── page.liquid
    ├── product.liquid
    └── search.liquid

Credits

About

The Shopify Barebone Theme is a custom, Node based, developers workflow / starting point for creating awesome Shopify themes, the sexy way! This repository makes us of gulp to support jade templating, template partials, scss partials, merging and uglifying scripts and styles, copying assets, building a shopify compatible build folder!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors