From de239254e54bd7574d91cb37bc2c99f1f5c767cd Mon Sep 17 00:00:00 2001 From: Robin Olsen Date: Wed, 18 Feb 2026 11:58:20 +0100 Subject: [PATCH] add tailwindcss with node for windows development --- .gitignore | 4 ++++ Makefile | 1 + 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 741a19d..fa42a91 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,8 @@ *.ext bin .idea + +node_modules/ +package-lock.json +package.json pkg/web/node_modules/ diff --git a/Makefile b/Makefile index a1a58d4..cd58e0e 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,7 @@ web: dev: @go tool templ generate -watch -cmd "go run ./cmd/web" 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