bootstrap-less

less files for bootstrap

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
bootstrap-less
3.3.87 years ago7 years agoMinified + gzip package size for bootstrap-less in KB

Readme

Bootstrap-less
This package contains only the less files of bootstrap. It can be used when compiling bootstrap from source using less.
This repository is about 607 kb.

Installation

npm install bootstrap-less
This package should be added to your less paths settings.
gulp.pipe(less({
    paths: [
        '.',
        './node_modules/bootstrap-less'
    ]
}))
Then bootstrap can be included in any less file.
@import "bootstrap/index";
Or individual files can be imported instead of the index.
@import "bootstrap/grid";
@import "bootstrap/affix";
@import "bootstrap/dropdowns";

Javascript

The javascript is included in the js directory.
To use it in your client install it using jspm.
jspm install bootstrap-less
Include all scripts by using the compiled version which includes all the javascript.
import "bootstrap-less";
Or include individual scripts if only some are needed.

import "bootstrap-less/js/affix";
import "bootstrap-less/js/dropdowns";