Answer the question
In order to leave comments, you need to log in
How to create an additional folder with html files so that it is included in the assembly?
I use the assembly
https://github.com/maxdenaro/gulp-maxgraph
How to create another folder for example (project) in which there will be files like (project1.html, project2.html)
So that this folder is also included in the site assembly ?
Answer the question
In order to leave comments, you need to log in
You need to edit the gulpfile, or rather add the path to the htmlInclude task
const htmlInclude = () => {
return src([`${srcFolder}/*.html`, `${srcFolder}/project/*.html`])
.pipe(fileInclude({
prefix: '@',
basepath: '@file'
}))
.pipe(typograf({
locale: ['ru', 'en-US']
}))
.pipe(dest(buildFolder))
.pipe(browserSync.stream());
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question