I have never used a css preprocessor.
I want to use angularjs with angularUI (bootstrap) and I would like to know wether there is any disadvantage in using SASS vs LESS. Or is there a total independency and I am totally free to use SASS or LESS with AngularJS and AngularUI bootstrap.
Maybe AngularUI has builtin support for SASS or LESS so I should favor one of those?
Angular-UI is not dependent on any preprocessor, only the rendered CSS. You can use whatever you want, SASS, LESS, or the CSS straight from Bootstrap, as long as it ends up as valid Bootstrap 3 CSS.
Now that SASS is officially supported by Bootstrap (in a separate github repo), you're free to choose whichever (SASS or LESS) you want. There have been some articles showing the strengths and weaknesses between the two (for example), but in the end there is no clear advantage of one over the other. The main reason it's great to have options is that if you're already using one, you don't have to use the other when including Bootstrap.
For what it's worth, it seems like people are starting to prefer SASS over LESS these days.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With