-
-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootstrap Generator #150
Comments
👍 |
1 similar comment
+1 |
ping |
Why nobody here likes as flavor as LESS? That is very strange to have custom SASS version of Bootstrap but not to ship official version (at least as an option). |
Sass is more actively maintained and has a bigger community. We wanted to go with Stylus, but it's not there yet. LESS was unmaintained when we started Yeoman. We didn't want to bet on it. |
@sindresorhus As I see LESS is not dead. |
I believe that Ruby LESS compiler was unmantained but not LESS at all. It just switched to JS. |
Notice the word Yeoman is highly opinionated and we provide what we think is the best. You are free to use whatever you want instead if you don't agree. This will be much simpler in Yeoman 1.0 too. |
Ok. Thanks for your answer. I am impressed by Yeoman. I am just too lazy to switch my projects to SASS and too lazy to start digging Yeoman's sources because I see a lot of things gonna change soon as 1.0 will be released. |
@btford afaik this was addressed by https://github.com/yeoman/generator-bootstrap. Is there anything else pending here? |
Nope, we're good. |
Sorry to dig up this old issue, I'm interested here by the discussion the issue provoked. @sindresorhus wrote "Sass is more actively maintained and has a bigger community. [...] LESS was unmaintained when we started Yeoman. We didn't want to bet on it."
As of myself, I come from the Rails world where Sass is a first citizen (Sass compiler is written in Ruby while the LESS compiler is written in JavaScript). After using bootstrap-sass flavor since version 1.4, I got frustrated and one of the reason for me to switch to Yeoman/Bower is to use the original up to date Bootstrap. |
Nothing stopping you from using LESS, just plug in grunt-contrib-less and have fun. If we were to ever switch it would be Stylus, not LESS. More stars doesn't mean better. Bootstrap went with LESS since it was JS. |
Ignoring the second category of people is IMHO stupid.
|
@tkrotoff Like Sindre said, Yeoman only generate an app structure. Use whatever you need from there... You can even fork, or simply create your own generator on top of those already existing if you feel there's some major feature missing. Or, send a PR to a generator your use with support for both SASS and LESS with a prompt question to let user choose... Whatever fits your need really. Feel free to contribute. |
Yeoman isn't just bootstrap. We create an opinionated workflow with the best tools (in our opinion ofc) working together. If it doesn't suite you it's easy to modify or just fork the generator to suite your needs :) |
@SBoudrias @sindresorhus of course I know all this My comment was about supporting @chicoxyzzy
It feels wrong that the main generators (webapp, angular, backbone, ember) all propose Bootstrap without the option to use the original LESS version for the reasons I have exposed earlier. I guess the ideal solution would be that the generators ask for the preprocessor:
and then ask for the inclusion of a CSS framework:
(and then ask for the JS framework... one generator to rule them all by calling subgenerators :) ) And I know the answer to this: create your own generator... |
We're all thinking it, Bootstrap should switch to Stylus :p But yes, we want to make stuff like this easier, but it's unfortunately very cumbersome atm to offer too many choices. |
It'd be nice to have a separate generator for bootstrap. There are a few pending issues right now for Angular's generator related to bootstrap that I suspect are an issue in other generators.
The Bootstrap files will be fetched with bower, but it'd be nice to have something that lets you choose between different flavors like vanilla, font-awesome, sass, etc.
The text was updated successfully, but these errors were encountered: