문제

I'm already using bootstrap.css. But i would like to surcharge the less variables without using bootstrap customize editor.

I would like to add a less file in my project. My project is a simple nodejs project with express and harpejs.

Where to find the less file ? Using express it will compile it when i will deploy the project ?

Thanks.

도움이 되었습니까?

해결책

Look at using bower.

npm install -g bower
bower install bootstrap

You will then find all the less files in bower_components/bootstrap/less/*. Copy the bootstrap.less file to your CSS directory and make alterations (make sure the paths are correct).

You can then look at using some Grunt tasks to get the less to build.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top