Skip to main content

twd v0.1.5

ci

Simple tailwind like CLI tool for deno πŸ¦•

This tool uses twind internally.

Install

deno install --allow-read=. --allow-write=. -fq https://deno.land/x/twd@v0.1.5/cli.ts

Usage

Call twd command with html file input.

twd input.html

This outputs the tailwind compatible stylesheet which is needed by the input file.

You can specify more than 1 input file.

twd input-a.html input-b.html

This outputs the stylesheet which include classes needed by any of the input files.

Watch files

You can watch files with -w, --watch option.

twd -w input-a.html input-b.html -o styles.css

When you use -w option, you also need to specify -o, --output option, which specifies the output file for generated styles.

License

MIT