Answer the question
In order to leave comments, you need to log in
Bower bootstrap less - your own bootstrap.less or how not to load all bootstrap styles?
Good afternoon, experts, I am mastering gulp and it so happened that bootstrap is used in the project. Everything would be fine, but since the project is not large, the entire ui from the bootstrap is not required. I'm mainly interested in the grid, form elements and a couple of other elements. The problem is that I load the bootstrap through the bower and pull all the styles accordingly. You can of course clean it up with gulp-uncss, but what about styles that get in the way? I don't want to interrupt font sizes, colors, nav elements. How to get rid of it? Who had a way out? So far I have settled on the fact that in app/less/bootstrap.less - where I define the main path to the less files I need - but it does not look reliable like that ...
Answer the question
In order to leave comments, you need to log in
In my projects, I simply load the files I need (*.less) with the help @import
of , I don’t use gulp at all.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question