feat: initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# Run templ generation in watch mode
|
||||
templ:
|
||||
templ generate --watch --proxy="http://localhost:8090" --open-browser=false
|
||||
|
||||
# Run air for Go hot reload
|
||||
server:
|
||||
air \
|
||||
--build.cmd "go build -o tmp/bin/main ./main.go" \
|
||||
--build.bin "tmp/bin/main" \
|
||||
--build.delay "100" \
|
||||
--build.exclude_dir "node_modules" \
|
||||
--build.include_ext "go" \
|
||||
--build.stop_on_error "false" \
|
||||
--misc.clean_on_exit true
|
||||
|
||||
# Watch Tailwind CSS changes
|
||||
tailwind:
|
||||
tailwindcss -i ./assets/css/input.css -o ./assets/css/output.css --watch
|
||||
|
||||
# Start development server with all watchers
|
||||
dev:
|
||||
make -j3 tailwind templ server
|
||||
Reference in New Issue
Block a user