/tailwind-cli-extra

Tailwind CSS standalone CLI bundled with daisyUI

Primary LanguageShellMIT LicenseMIT

Tailwind CSS standalone CLI

Repackaged Tailwind CSS standalone CLI that comes bundled with daisyUI - the most popular component library for Tailwind CSS.

This repository employs GitHub Actions to generate patched versions of the upstream CLI tool whenever a new version of Tailwind CSS or daisyUI is released.

Usage

  • Download the latest executable from the releases page.

  • Add the daisyUI plugin to your Tailwind CSS config file:

    export default {
        // ...
        plugins: [
            require("daisyui")
        ]
    }
  • Use tailwindcss-extra just like the official tool (example).

Cheat sheet

# create a tailwind.config.js file
./tailwindcss-extra init

# start a watcher
./tailwindcss-extra -i input.css -o output.css --watch

# compile and minify your CSS for production
./tailwindcss-extra -i input.css -o output.css --minify

Current versions