A golang package and cli tool for generating styles using Tailwind CSS and DaisyUI
Find a file
2024-10-07 01:22:38 -06:00
cmd 0.1.8 2024-10-07 01:04:13 -06:00
generator 0.1.8 2024-10-07 01:04:13 -06:00
.DS_Store 0.1.8 2024-10-07 01:04:13 -06:00
go.mod 0.1.9 2024-10-07 01:22:38 -06:00
go.sum 0.1.9 2024-10-07 01:22:38 -06:00
LICENSE Initial commit 2024-09-23 16:35:20 -06:00
Makefile 0.1.5 2024-09-23 21:23:17 -06:00
README.md 0.1.8 2024-10-07 01:04:13 -06:00

DaisyUI + TailwindCSS Generator built with Go

Usage

As a CLI

  1. Run go install codeberg.org/atridad/daisygen/generator
  2. Ensure your GO bin directory is in your PATH
  3. Run daisygen -extensions html -directory ./pages/templates -output-dir ./public/css (this is an example... use the values that make sense for your project)
  4. ???
  5. Profit

As a Go package

  1. Import codeberg.org/atridad/daisygen/generator using go get codeberg.org/atridad/daisygen/generator
  2. Add daisygen "codeberg.org/atridad/daisygen/generator" to your imports
  3. Use daisygen.Generate("extention","directory","outputdirectory" directly in your go code (ideally your mail.go file)
  4. ???
  5. Profit