component-roole

Use the awesome roole css pre-processor in your components

npm install component-roole
7 downloads in the last month

component-roole

Use the awesome roole css pre-processor in your components.

Installation

$ npm install component-roole

Usage

Add the roole plugin through builder.use()

var builder = new Builder('.')

builder.copyAssetsTo('build')

// Use plugin

builder.use(roole)

builder.build(function (err, res) {
  if (err) throw err;

  write('build/build.css', res.css)
})

and use it in your components!

{
  ...
  "styles": [
    "dialog.roo",
    "navbar.roo"
  ]
  ...
}

Test

$ make

or simply run

$ node test/build.js
npm loves you