Melkeydev / go-blueprint

Go-blueprint allows users to spin up a quick Go project using a popular framework
MIT License
2.07k stars 141 forks source link

move js/ into assets/js/ and make assets/ as static file server #221

Closed kobamkode closed 1 month ago

kobamkode commented 1 month ago

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

Problem/Feature

Move js/ into assets/js and make assets/ as a static file server, so user can easily add a custom folder like cmd/web/assets/css/ and link it into base.templ if they want it.

Description of Changes:

Checklist

H0llyW00dzZ commented 1 month ago

it's better to made it own framework I think hahahaha

EssaAlshammri commented 1 month ago

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

H0llyW00dzZ commented 1 month ago

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.