Use the awesome roole css pre-processor in your components
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
Makefile
Readme.md
index.js
package.json

Readme.md

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