lineman-stylus
This is a plugin to make it easy to use Stylus in conjunction with a [Lineman](http://linemanjs.com) app.
Last updated 6 years ago by richgilbank .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install lineman-stylus 
SYNC missed versions from official npm registry.

lineman-stylus

This is a plugin to make it easy to use Stylus in conjunction with a Lineman app.

Usage

First, add the plugin to your lineman project:

$ npm install lineman-stylus --save-dev

From there, you can override the default file globs by editing your config/files.js:

module.exports = function(lineman){
  stylus: {
    generatedVendor: 'generated/css/vendor.styl.css',
    generatedApp: 'generated/css/app.styl.css',
    vendor: 'vendor/css/**/*.styl',
    app: 'app/css/**/*.styl'
  }
};

Now when you run lineman run, you should have app.styl.css and vendor.styl.css in your generated/css folder.

Current Tags

  • 0.0.2                                ...           latest (6 years ago)

2 Versions

  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |