用的是gulp有没有个插件,可以实现如下根据一个html文件,和一个json文件, ... templates/*.ejs') .pipe(ejs({ title: 'gulp-ejs' })) // 注入变量 ...
確定! 回上一頁