gulp-xhtml
0.2.1 • Public • Published gulp-xhtml
A gulp plugin for compiling xTemplate templates.
Install
$ npm install gulp gulp-xhtml --save-dev
$ yarn add gulp gulp-xhtml -D
Usage
demo.xtpl
gulpfile.js
var xhtml = require('gulp-xhtml');
gulp.task('views', () => {
return gulp.src('views/*.xtpl')
.pipe(xhtml())
.pipe(gulp.dest('dist'))
});
License
MIT © 汪磊
Package Sidebar
Install
Weekly Downloads