tailwindcss

Tailwindcss CLI tools

Subcommands

NameDescription
initCreates Tailwind config file. Default: tailwind.config.js
buildBuild CSS file

Options

NameDescription
-i, --input <input file>Specify input file
-o, --output <output file>Specify output file
-c, --config <config file>Specify config file to use
--postcss [postcss config file]Load custom PostCSS configuration
--purgeContent paths to use for removing unused classes. [Deprecated]: use `--content` instead
--contentContent paths to use for removing unused classes
--watch, -wWatch for changes and rebuild as needed
--minify, -mMinify the output
--no-autoprefixerDisable autoprefixer
--help, -hDisplay usage information