component-roole

Use the awesome roole css pre-processor in your components

component-roole

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

$ npm install component-roole

Add the roole plugin through builder.use()

var builder = new Builder('.')
 
builder.copyAssetsTo('build')
 
// Use plugin 
 
builder.use(roole)
 
builder.build(function (errres) {
  if (err) throw err;
 
  write('build/build.css', res.css)
})

and use it in your components!

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

or simply run

$ node test/build.js