gulp-livingcss
v5.0.0
Published
Gulp wrapper for the LivingCSS Style Guide Generator
Downloads
919
Maintainers
Readme
gulp-livingcss
Gulp wrapper for the LivingCSS Style Guide Generator.
Issues with the output should be reported on the LivingCSS github repo.
Install
$ npm install --save-dev gulp-livingcss
Usage
var gulp = require('gulp');
var livingcss = require('gulp-livingcss');
gulp.task('default', function () {
gulp.src('src/styles.css')
.pipe(livingcss('dist'))
.pipe(gulp.dest('dist'))
});
API
livingcss(dest, [options])
dest
The dest
parameter is used to create the correct relative URLs from the Style Guide to the linked stylesheets. See the LivingCSS dest.
options
See the LivingCSS options.
streamContext
- If the task should return the context object rather than the generated HTML file.