Neolithic Populous Metropolis

    gulp-art

    0.0.1 • Public • Published

    gulp-art

    A gulp plugin for art-template

    Install

    $ npm install gulp-art
    

    $ Basic Usage Template file:

    <!-- dome.art  -->
    <h1>{{title}}</h1>

    Gulpfile

    var template  = require('gulp-art');
    var gulp = require('gulp');
     
    gulp.task('default', function () {
        gulp.src("demo.art")
            .pipe(template({
                data : {
                    "title" : "gulp-art"
                }
            }))
            .pipe(gulp.dest('dist'));
    });

    Output:

    <!-- dome.html  -->
    <h1>gulp-art</h1>

    Install

    npm i gulp-art

    DownloadsWeekly Downloads

    1

    Version

    0.0.1

    License

    ISC

    Last publish

    Collaborators

    • kdylan