Imports Bootstrap Less code before your custom Less code.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
LICENSE
README.md
package.json

README.md

less-plugin-bootstrap

Imports Bootstrap Less code before your custom Less code.

lessc usage

Install..

Requires Less v2.4.0

npm install -g less-plugin-bootstrap

and then on the command line,

lessc file.less --bootstrap

to create Bootstrap compatible code run with the Less autoprefix plugin:

lessc file.less --bootstrap --autoprefix="Android 2.3,Android >= 4,Chrome >= 20,Firefox >= 24,Explorer >= 8,iOS >= 6,Opera >= 12,Safari >= 6"

Programmatic usage

var LessPluginBootstrap = require('less-plugin-bootstrap'),
    bootstrapPlugin = new LessPluginBootstrap();
less.render(lessString, { plugins: [bootstrapPlugin] })
  .then(

Browser usage

Browser usage is not supported at this time.