gulp-juicer2js
A gulp plugin to transform the template of juicer to javascript function.
Usage
Firstly, install gulp-juicer2js
as a development dependency:
npm install gulp-juicer2js --save-dev
Then, add it into your gulpfile.js
:
transform the template content of juicer to javascript function:
var juicer2js = ; gulp ;
** use the transformed js function: **
//tpl is the transformed contentvar html = ;