Skip to content

dobicinaitis/tailwind-cli-extra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Downloads

Binaries

Snap package

Get it from the Snap Store or install using the command line:

sudo snap install tailwindcss-extra