Theme development resources

ShopBase Theme CLI Overview

ShopBase Theme CLI helps you develop themes for ShopBase easily.

How to install ShopBase Theme CLI

Node Version Requirement ShopBase Theme CLI requires Node.js version 8.9 or above (8.11.0+ recommended). You can manage multiple versions of Node on the same machine with nvm or nvm-windows

To install the new package, use one of the following commands. You need administrator privileges to execute these unless npm was installed on your system through a Node.js version manager (e.g. n or nvm).

npm install -g @shopbase-theme/cli
# OR
yarn global add @shopbase-theme/cli

Starter theme

The quickest way to get up and running with a workspace for building themes is to use the official starter theme‚Äč

You can using this command to create new a theme at local.

shopbase-theme create new-theme

All source code is cloned from starter-theme repo. We recommend starting with this starter theme.