File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Tailwind CSS CLI as a Go Tool
22
3- A dead simple way to run [ Tailwind CSS] ( https://tailwindcss.com/ ) CLI as a Go tool .
3+ A dead simple way to run Tailwind CSS standalone CLI using ` go tool ` [ released with Go 1.2.4 ] ( https://tip.golang.org/doc/go1.24#tools ) .
44
5- No more ** Node.JS** . No more ** manual downloads of the CLI ** .
5+ No more ** Node.JS** . No more ** manual downloads** .
66
7- ## Install
7+ ## Usage
88
9- ``` bash
10- go get -tool github.com/scriptogre/tailwindcss-go-tool@latest
11- ```
12-
13- ## Use
9+ 1 . Install it:
10+ ``` bash
11+ go get -tool github.com/scriptogre/tailwindcss-go-tool@latest
12+ ```
1413
15- 1 . Create ` input.css ` in your project:
14+ 2 . Create ` input.css ` in your project:
1615 ``` css
1716 @import ' tailwindcss' ;
1817 ```
1918
20- 2 . Run TailwindCSS :
19+ 3 . Run it :
2120 ``` bash
2221 go tool tailwindcss -i input.css -o output.css --watch
2322 ```
You can’t perform that action at this time.
0 commit comments