Skip to content

scriptogre/tailwindcss-go-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tailwind CSS CLI as a Go Tool

A dead simple way to run Tailwind CSS standalone CLI using go tool released with Go 1.2.4.

No more Node.JS. No more manual downloads.

Usage

  1. Install it:

    go get -tool github.com/scriptogre/tailwindcss-go-tool@latest
  2. Create input.css in your project:

    @import 'tailwindcss';
  3. Run it:

    go tool tailwindcss -i input.css -o output.css --watch

That's it!

Note: Downloaded TailwindCSS binary is cached in ~/.cache/tailwindcss-go-tool/