start setup for move to templ

This commit is contained in:
Matthew Stobbs 2024-03-14 12:21:07 -06:00
parent 6e0198de35
commit 2c15c6f840
5 changed files with 6 additions and 6 deletions

View File

@ -5,23 +5,23 @@ tmp_dir = "tmp"
[build]
args_bin = []
bin = "./tmp/main"
pre_cmd = ["templ generate", "npx tailwindcss -i css/style.css -o public/css/style.css"]
cmd = "go build -o ./tmp/main ."
delay = 1000
exclude_dir = ["tmp", "vendor", "testdata", "assets/node_modules"]
exclude_dir = ["tmp", "vendor", "testdata", "node_modules"]
exclude_file = []
exclude_regex = ["_test.go"]
exclude_regex = ["_test.go", ".*_templ.go"]
exclude_unchanged = false
follow_symlink = false
full_bin = ""
include_dir = []
include_ext = ["go", "tpl", "tmpl", "html", "gohtml", "css"]
include_file = []
include_ext = ["go", "css", "templ"]
include_file = ["tailwind.config.js"]
kill_delay = "0s"
log = "build-errors.log"
poll = false
poll_interval = 0
post_cmd = []
pre_cmd = []
rerun = false
rerun_delay = 500
send_interrupt = false

View File

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