Closed kobamkode closed 1 month ago
it's better to made it own framework I think hahahaha
There should have been a css folder with a default css file to be easier to add styles to the web app
Or better add tailwind with the advance flag
There should have been a css folder with a default css file to be easier to add styles to the web app
Or better add tailwind with the advance flag
I agree with the suggestion for Tailwind, as mentioned in #186,#224.
Because Go + HTMX is better, and the only missing component is CSS, unlike other languages, especially Java, which consumes a lot of memory.
Also I don't understand why most developers write Java when it's better to write Go, especially for microservices.
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.
Problem/Feature
Move
js/
intoassets/js
and makeassets/
as a static file server, so user can easily add a custom folder likecmd/web/assets/css/
and link it intobase.templ
if they want it.Description of Changes:
cmd/program/program.go
to create assets/cmd/template/advanced/files/htmx/base.templ.tmpl
go:embed "js"
togo:embed "assets"
cmd/template/advanced/files/htmx/routes
Checklist