What Is Theme Kit?
Designed for Shopify themes, Theme Kit is a fabulous command-line tool, which plays a significant role in developing e-commerce stores. Believe it or not, but it simplifies the life of the developers to a great extent. It allows you to download the entire theme on your local system, and you can use it on your editor. When you save the file, it automatically gets uploaded to your desired theme. You can then check how effectively it is working with the command line.
So, as a Shopify expert, if you haven’t tried this method so far, and you want to know how it works, then the following steps can prove to be super helpful for you.
Shopify themes can also be developed locally. Follow the steps below to setup local development environment:
- Install Shopify Theme Kit
- Get API Access
- Use a new theme or Configure an existing theme with theme kit
Explanation of the above steps are as follows:
Install Shopify Theme Kit
Open this link https://shopify.dev/tools/theme-kit/getting-started
Only for the windows: https://shopify.dev/tools/theme-kit/getting-started#windows
Go to the https://chocolatey.org/
There is also more options for installs
Carefully follow below link steps
After finish the steps run
Then again follow below link steps for install theme kit
Run this command
choco install themekit
Then connect with your store using password
theme get --password=[your-password]
How to create config yml, Please follow below link steps
After finish steps Then go to your folder location and create file config.yml
Then Paste below code, You should to change details as per your shopify store
cmd in path bar
Run this command in cmd
Run for watch
theme watch --allow-live
Try making a change to one of your files and check it out in your online store (if it is the live one) to see the change automatically uploaded to your theme ?? !!
About The Author: Oneonic
More posts by oneonic