@abolkog/theme-kit

NodeJS Wrapper around Shopify ThemeKit

Usage no npm install needed!

<script type="module">
  import abolkogThemeKit from 'https://cdn.skypack.dev/@abolkog/theme-kit';
</script>

README

Theme-Kit

A NoeJS CLI Wrapper around Shopify ThemeKit

Currently Working with bare liquid themes

Screen Shot 2020-08-28 at 4 42 45 pm

Prerequisites

Install

  • Install the package globally
npm i -g theme-kit

Usage

theme-kit is a cli wrapper around shopify themekit, you can use it to switch theme in your working dir, start themekit watch for development or fetch/download a new theme from shopify

This wrapper will created a file .werd on the root level to store your configutation. Add this file to your .gitignore

Downlaod theme

Navigate to a new folder and use the command get to download a theme

mkdir my-project && cd my-project
theme-kit get

follow the on-screen instruction

Watch theme

Navigate to your them working and issue the commadn switch

the config.yml file must exists in the root folder

cd my-theme
theme-kit switch

follow the on-screen instruction

Watch theme

To watch for theme changes and upload the theme to shopify use the command dev

the config.yml file must exists in the root folder

mkdir my-project && cd my-project
theme-kit dev

follow the on-screen instruction

Authors

  • Khalid Elshafie - Initial work - abolkog

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details