add tailwindcss with node for windows development
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -3,4 +3,8 @@
|
|||||||
*.ext
|
*.ext
|
||||||
bin
|
bin
|
||||||
.idea
|
.idea
|
||||||
|
|
||||||
|
node_modules/
|
||||||
|
package-lock.json
|
||||||
|
package.json
|
||||||
pkg/web/node_modules/
|
pkg/web/node_modules/
|
||||||
|
|||||||
1
Makefile
1
Makefile
@@ -24,6 +24,7 @@ web:
|
|||||||
dev:
|
dev:
|
||||||
@go tool templ generate -watch -cmd "go run ./cmd/web"
|
@go tool templ generate -watch -cmd "go run ./cmd/web"
|
||||||
tw:
|
tw:
|
||||||
|
@npm install tailwindcss@latest @tailwindcss/cli@latest @tailwindcss/typography daisyui@latest
|
||||||
@npx --yes @tailwindcss/cli -i ./pkg/web/input.css -o ./pkg/web/assets/css/styles.css --watch --minify
|
@npx --yes @tailwindcss/cli -i ./pkg/web/input.css -o ./pkg/web/assets/css/styles.css --watch --minify
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user