Slate is a toolkit for developing Shopify themes. It's designed to assist your workflow and speed up the process of developing, testing, and deploying themes.
slate-sections-plugin
, slate-translations
slate-tools
slate-sections-plugin
slate-sections-plugin
slate-tools
slate-sections-plugin
, slate-tools
slate-tools
slate-tools
slate-analytics
slate-tools
slate-cssvar-loader
slate-sync
All pre-exisiting logic and operations that were performed to folders inside the the src/assets
directory has been removed. All contents of the assets folder are now statically copied to the dist/assets
folder.
The src/assets/scripts
directory has moved to src/scripts
.
The src/assets/styles
directory has moved to src/styles
.
SVGs contained in the src/assets/svgs
directory, which were copied to the dist/snippets
directory and renamed to .liquid
files, should now be moved into the src/snippets
directory and manually renamed with a .liquid
extension. This will allows these SVGs to continue to be inlined into your theme via the {% include %}
tag.
Referencing assets via relative paths, e.g. <img src"{{ '../assets/images/my-image.jpg' | asset_url }} />
, has been replaced by native Shopify asset references, e.g. <img src"{{ 'my-image.jpg' | asset_url }} />
.
See Pull Request #850 for all the details.
slate-env
html-webpack-liquid-asset-tags-plugin
, slate-config
, slate-liquid-asset-loader
, slate-tools
slate-tools
In addition to this beta release, we shipped v1 of theme-cart
, a tiny library (<1kb min+gzip that facilitates requests to Shopify's Cart API and makes it easier to manage cart state. Check out the other packages in the repo while you're there too!
slate-tools
slate-tools