component-roole

0.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i component-roole

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • queckezz