webtourismus/tailwindcss-cli
最新稳定版本:v3.4.10
Composer 安装命令:
composer require webtourismus/tailwindcss-cli
包简介
Standalone binary CLI executable of Tailwind CSS for Linux x64 systems. Patched version including postcss-import and postcss-nested.
README 文档
README
This is a patched version of the standalone CLI build of Tailwind CSS for Linux x64 systems, easily installable as a composer package. Contrary to the default CLI, this patched version also includes postcss-import and postcss-nested bundled inside the CLI executable.
- Install with
composer require webtourismus/tailwindcss-cli - Execute with
./vendor/bin/tailwindcss - (optional) If you want to use import and/or nesting in your CSS source file, use the
--postcssparameter to specify your PostCSS config file.
Usage example:
./vendor/bin/tailwindcss --input my_tailwind_source.css --output my_compiled_tailwind.css --content my_site/*.html --postcss my_custom_postcss.config.css
Example postcss.config.js file with import and nesting enabled:
module.exports = {
plugins: {
'postcss-import': {},
'tailwindcss/nesting': {},
tailwindcss: {},
autoprefixer: {},
}
}
See tailwindcss.com/blog/standalone-cli for more instructions.
See tailwindcss.com/docs/using-with-preprocessors for PostCSS options.
统计信息
- 总下载量: 6.08k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-04