hexo-renderer-less

4.0.0 • Public • Published

Less renderer

Build Status NPM version Coverage Status

Add support for Less.

Install

$ npm install hexo-renderer-less --save

Configure

In your theme configuration,

# themes/yourtheme/_config.yml
less:
  paths: []
  options:
  • paths: Array of include paths.
    • e.g. to include Bower Bootstrap, ['bower_components/bootstrap/less']
    • globbing is also supported, ['bower_components/bootstrap/**']
  • options: Less.js options.
    • Example:
    less:
      options:
        globalVars:
          var1: 'some value'

Package Sidebar

Install

npm i hexo-renderer-less

Weekly Downloads

540

Version

4.0.0

License

MIT

Unpacked Size

4.23 kB

Total Files

5

Last publish

Collaborators

  • ertrzyiks
  • abnerchou
  • tommy351
  • hexobot
  • jlhwung
  • tomap
  • curben
  • yoshinorin