一饮而尽用编译的Gulp插件安装npm install --save-dev gulp-ect-simple用法var gulp = require ( 'gulp' ) ; var ect = require ( 'gulp-ect-simple' ) ; gulp . task ( 'ect' , function ( ) { return gulp . src ( './templates/*.ect' ) . pipe ( ect ( { options : { root : 'app/views' , ext : '.ect' } , data : { message : 'Hello, World!' , name : 'Bob'