1.0.3 • Published 4 years ago
tailwind-apply-cli v1.0.3
tailwind-apply-cli
A nodejs cli that generates a tailwind.css classes with @apply for most reused classStrings and replaces them in your html or templates
Installation
npm i tailwind-apply-cliUsage
npx twapply <glob_pattern>Example
This will generate className and tailwind.css for all class strings defined in the .js and .html files in current directory and its child directories
npx twapply "./**/*.(jsx|html)"
