Skip to content

zce/gulp-xhtml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-xhtml

NPM version NPM download Build Status Dependency Status devDependency Status Code Style

A gulp plugin for compiling xTemplate templates.

Install

# npm
$ npm install gulp gulp-xhtml --save-dev
# or yarn
$ yarn add gulp gulp-xhtml -D

Usage

demo.xtpl

<p>{{ message }}</p>

gulpfile.js

var xhtml = require('gulp-xhtml');

gulp.task('views', () => {
  return gulp.src('views/*.xtpl')
    .pipe(xhtml())
    .pipe(gulp.dest('dist'))
});

License

MIT © 汪磊

About

A xtemplate plugin for gulp

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published