Introducing npm Teams! Private packages + team management tools.Learn more »

less-plugin-bootstrap

0.0.2 • Public • Published

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.

Install

npm i less-plugin-bootstrap

DownloadsWeekly Downloads

3

Version

0.0.2

License

none

Last publish

Collaborators

  • avatar