Answer the question
In order to leave comments, you need to log in
How to properly connect bootstrap3 after installing bower?
I installed bootstrap in my project with bower.
My folder structure is something like this.
Only instead of sass I have less files. And bootstrap has less. I want to import to be able to override the variables from the bootstrap in my variables. Of course, you can edit all the variables directly in the bower_components folder, but this loses the whole point in bower. How can I create a file with bootstrap variables so that my changes won't be lost when I do a bower update?
Answer the question
In order to leave comments, you need to log in
in your file
@improt "my_bootstrap_variables.less"; // это копия файла с переменными из бутстрапа. лежит в вашей папке src.
@improt "../../bower_components/bootstrap<...>/bootstrap.less";
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question