gulp-stud

1.0.2 • Public • Published

gulp-stud

Gulp plugin for stud(A simple templating engine for JavaScript). It helps compile stud template.

Installation

  
    npm install gulp-stud --save-dev
 

Usage

 
    var gulp = require('gulp');
    var prefix = require('./');
 
    gulp.task('stud', function(){
    gulp.src('./path-to-template-files/**/*.html')
        .pipe(stud())
        .pipe(gulp.dest('./path-to-where-you-want-the-compiled-template-files'));
    });
 

Test

 
    npm test
 

A gulp default task for dust has been created for test in this project. This will generate a 'compiled' folder of the compilations.

/gulp-stud/

    Package Sidebar

    Install

    npm i gulp-stud

    Weekly Downloads

    6

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • steveesamson