Code Monkey home page Code Monkey logo

shopify-grunt-tools's Introduction

shopify-grunt-tools

A small set of tools to make building Shopify themes easier

Directory Layout

├── lib
│   ├── scss
│   │   ├── display
│   │   ├── setup
│   │   └── custom
│   └── js
│       └── libraries
├── source-assets
│   └── images
└── theme
    ├── assets
    ├── config
    ├── layout
    ├── snippets
    └── themplates
  • lib - contains sass and JS files that will be concatenated (, in case of JS minified) and moved to the shopify theme folder
  • source-assets contains images that will be minified and moved to the shopify theme folder as well
  • theme - contains the usual shopify theme structures in which you can run your theme watch with this tool

To see this in action with a framework called "Timber" have a look at this repo

File sorting

All files in the js and scss folder will sorted by their file names.

  • In the js folder the libraries folder will take precedence over other files
  • The order in the scss folder is: setup, display and then custom

shopify-grunt-tools's People

Contributors

oksushi avatar dominikwilkowski avatar

Stargazers

Winston Hughes avatar Ben Lord avatar Umut avatar Gavin Ballard avatar James Wyse avatar Brad Cerasani avatar Syahrasi avatar  avatar

Watchers

 avatar Gray Gilmore avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.