A boilerplate for Shopify ThemeKit using Tailwind and Laravel Mix
- Login to Shopify and create a private app. Set the permissions of
Theme templates
andTheme assets
toRead and write
- Add a new
variables
file (no extension) at the root of the project - Add your API password, theme ID and store URL:
DEV_PASSWD=[your-dev-password]
DEV_THEMEID=[your-theme-id]
DEV_SHOP=[your-store.myshopify.com]
- Add a new
.env
file containing the URL of your store (this is for Browsersync)
STORE=https://[storename].myshopify.com
- Run
npm install
to install dependencies - Run
npm run dev
to start development - Run
npm run deploy
to push production files to Shopify