Skip to content

bassjobsen/less-plugin-bootstrap

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 

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.

About

Imports Bootstrap Less code before your custom Less code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published