Simple Boilerplate code to get started with Shopify & tailwind CSS
- Extract your Shopify theme in
/themefolder. - Run
npm installin root folder. - Add new classes in your liquid file using the prefix
tw-(in order to avoid confilicts however you can update this setting intailwind.config.js>prefix: false). - Add
{{ 'styles.css' | asset_url | stylesheet_tag }}in yourtheme.liquidin order to pull tailwind css file in your shopufy code.