Nullifying Precipitation Machine
    Wondering what’s next for npm?Check out our public roadmap! »

    hexo-renderer-less

    2.0.2 • 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'

    Install

    npm i hexo-renderer-less

    DownloadsWeekly Downloads

    616

    Version

    2.0.2

    License

    MIT

    Unpacked Size

    4.21 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar