Shopify Dawn Base theme with custom Drawers, Modals and Ajaxcart. Also Custom npm scripts to improve dev flow.
- Node v14
- Shopify CLI
- Setup:
- yarn install
- Start Development Mode(*see below):
- yarn run dev
- Deploy:
- yarn run deploy
Running 'yarn run dev' does this:
- Logs you into shopify cli for current project
- Runs 'shopify theme serve'
- Starts watching global.js and base.css for changes and copies them to global.min.js and base.min.css, respectevely. With this there's no need to worry about changing asset urls on theme.liquid when the assets get compressed.
- yarn run sync
- Choose theme to sync
- Manually check changes using git (and discard if necessary)
- Commit changes