tailwindcss

Tailwindcss CLI tools

Subcommands

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

Options

NameDescription
-i,--input <command>Specify input file
-o,--output <command>Specify output file
-c,--config <command>Specify config file to use
--postcss [command]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