Answer the question
In order to leave comments, you need to log in
How to write a task for gulp if I have several html pages on the site, but the styles are the same?
Now there are separate html files for the main page. Now, as I understand it, I need to create the same files for the second page. Should I do another task html or how can I get by with one?
gulp.task('html', function() {
return gulp.src('frontend/assets/index.html')
.pipe(rigger())
.pipe(gulp.dest('public'));
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question