首页 文章
  • 7 votes
     answers
     views

    如何结合gulp-watch和gulp-inject?

    我正在尝试使用gulp-watch和gulp-inject来构建我的Node Web应用程序 . 但是,一旦gulp-watch参与其中,似乎涉及gulp-inject的构建步骤将无效 . 貌似,the reason is that the watch stream never ends and gulp-inject doesn't know when to start . 我的gulpfile...
  • 11 votes
     answers
     views

    Gulp-Inject不工作

    我有一个简单的Gulp构建过程设置用于测试 . 我已多次阅读文档,但我似乎无法通过Gulp-inject将我想要的脚本注入index.html文件中 . 我的Gulp文件如下所示: gulp.task('inject1', function() { return gulp.src('app/index.html') .pipe(inject(gulp.src('./app/s...

热门问题