Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

gulp-xhtml

0.2.1 • Public • Published

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

install

npm i gulp-xhtml

Downloadsweekly downloads

3

version

0.2.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability