feat: enabled tailwindcss

and have single watcher command to rebuild out.css and restart the
server:
wgo -verbose -file .go -file .gohtml echo reloading :: bash -c 'tailwindcss -i ./input.css -o public/out.css' :: go run main.go
This commit is contained in:
efim
2023-10-03 15:06:18 +00:00
parent 83d8cd07d2
commit 8b95d963fe
5 changed files with 585 additions and 40 deletions

View File

@@ -0,0 +1,9 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./**/*.gohtml"],
theme: {
extend: {},
},
plugins: [],
}