承接 webtourismus/tailwindcss-cli 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.

  1. Install with composer require webtourismus/tailwindcss-cli
  2. Execute with ./vendor/bin/tailwindcss
  3. (optional) If you want to use import and/or nesting in your CSS source file, use the --postcss parameter 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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-04