Answer the question
In order to leave comments, you need to log in
What is the alternative to gulp-rigger?
Subject.
Need an alternative to this plugin. Tell me pzhl
Answer the question
In order to leave comments, you need to log in
var fileinclude = require('gulp-file-include');
gulp.task('html', function() {
gulp.src(path.assets.html)
.pipe(fileinclude({
prefix: '@@',
basepath: '@file'
}))
.pipe(gulp.dest(path.build.html))
});
@@include('./components/meta.html', {
"title": "Main",
"viewport": "width=device-width, initial-scale=1"
})
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question