Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

cloud4bpm's avatar

Using bower install bootstrap creates the .less file

Hi,

I'm using bower for front-end dependency management but, when I use bower install bootstrap and bower-installer it creates the .less and .js files. Why it doesn't create the .css and .js files? Why .less file?

Thanks.

0 likes
3 replies
uxweb's avatar

@cloud4bpm It does, whitin your bower_components there is bootstrap.

Within bootstrap you can find the less files and a "dist" directory containing the .css, .js and font files.

cloud4bpm's avatar

Thanks @uxweb but the question is, using bower-installer avoids to navigate within the components folder and create the distribution files as .js, .css. For this reason was my question, that less file may need to be processed by gulp to obtain the final .css file, or maybe I'm wrong on that question?

uxweb's avatar

There is no need, the maintainer of the package gives you the dist files, but if you want to override some styles or compile it yourself, it includes the less or source files.

Please or to participate in this conversation.