amberframework / amber

A Crystal web framework that makes building applications fast, simple, and enjoyable. Get started with quick prototyping, less bugs, and blazing fast performance.
https://amberframework.org
MIT License
2.57k stars 205 forks source link

Remove bootstrap from the default app generators and new app template #1303

Closed crimson-knight closed 9 months ago

crimson-knight commented 1 year ago

Amber is currently tightly coupled with Bootstrap 4.

Pros:

Cons:

Let's remove Bootstrap entirely.

This sets the path for easier customization of templates for new Amber users.

drujensen commented 1 year ago

@crimson-knight Agree. We should go all the way and remove node/npm dependency as well. use HTMX and keep CSS < 100kb.

crimson-knight commented 1 year ago

I would love to remove the node dependency entirely. Is there a shard to do that though? Seems like everything these days for styling is handled by a JS bundler

drujensen commented 1 year ago

If we go minimal like you are suggesting, you don't need any of that stuff. I will work on this when I get a chance.

crimson-knight commented 1 year ago

Cool thanks Dru. I checked out htmx, looks sweet!

Including a copy of htmx for our asset pipeline to start is a good way to allow for installing Vite or some other JS/asset bundler for styling should anyone want to implement it.