Note
This is a work in progress. I use this for a work-in-progress and testing ground for new Shopify features. Not all core Shopify theme features are accounted for.
A Shopify 2.0 starter theme that focuses on performance, user experience, and simplicity.
- Everything is intentionally basic. So you can focus on building what you need without the hassle of complex settings and functionality you don’t.
- For CSS, you will find a combination of TailwindCSS and traditional stylesheets. If something is used throughout the theme, standard CSS is used for consistency.
- I have included solutions I have found helpful across multiple Shopify themes, many of which may be unique and useful.
Prerequisites: Install Node (NPM used for TailwindCSS) and Shopify CLI
-
Clone this repository and
cdinto the project directory. -
Run
npm installto install dependencies. -
In the
package.jsonfile, enter your Shopify domain in theshop:devscript"shop:dev": "shopify theme dev --store=your-domain.myshopify.com",
-
Run
npm run devto start a local development.- This uploads the current theme to a store so you can preview it and keeps the TailwindCSS styles updated.
- The first time you run Shopify CLI, or anytime you switch stores, you must pass the
--storeparameter.
-
Before deploying to production, run
npm run buildto minify and optimize TailwindCSS styles.
References for Shopify theme development: