gulp-xhtml
A xtemplate plugin for gulp
Last updated 3 years ago by zce .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gulp-xhtml 
SYNC missed versions from official npm registry.

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 © 汪磊

Current Tags

  • 0.2.1                                ...           latest (3 years ago)

2 Versions

  • 0.2.1                                ...           3 years ago
  • 0.2.0                                ...           4 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |