excid3 / jumpstart

Easily jumpstart a new Rails application with a bunch of great features by default
http://jumpstartrails.com
MIT License
1.2k stars 316 forks source link

Make Bootstrap optional? #54

Closed nickisnoble closed 4 years ago

excid3 commented 6 years ago

@nickisnoble I've been wanting to move it to Tailwind CSS instead, but there's almost certainly going to be some sort of css library required for this otherwise you can provide html templates that look any good by default.

nickisnoble commented 6 years ago

+1 Tailwind would be awesome!

Bootstrap just looks super specific, and I find myself using it less and less. I get that not having styles ready to roll would make the package feel incomplete though

foucist commented 6 years ago

I vote for tailwind also 😄

jespr commented 6 years ago

@excid3 we could extract some utility patterns using @apply the tailwindcss way, to provide some nice defaults for forms, navbar etc?

excid3 commented 6 years ago

We definitely can replicate the Bootstrap classes in Tailwind to make the transition easier.

I've also been building a small set of Stimulus controllers to replicate the JS functionality of Bootstrap: tabs, modals, dropdowns, etc. Those would be required before we could make the switch I think.

I should get those published on Github soon.

jespr commented 6 years ago

Oh shoot! I forgot about JS. Stimulus sounds great, that's something I've been wanting to play around with myself

foucist commented 6 years ago

I'm kind of ambivalent about Stimulus.js when something like Mithril.js is half the size and I find it easier to work with, minimal DSL, components-based, and tiny & fast.

The only downside is the lack of DOM/progressive enhancement support that Stimulus.js or Vue.js have. Riot.js might be an interesting alternative since it's kind of like vue.js w/ the template stuff but also tiny.

richjdsmith commented 5 years ago

StimulusJS + TailwindCSS would be an awesome combo - especially like @jespr said, using some @apply for a few defaults.

Need a hand on this?

daresTheDevil commented 4 years ago

I've had pretty good luck with an AlpineJS/Tailwind combo. Just another option to throw out there.

excid3 commented 4 years ago

This is probably gonna stick with Bootstrap for the time being. There aren't too many views to port over to Tailwind or your CSS framework of choice. We can reopen or start a PR if someone feels really strong about it.