L
L
lorentso2021-08-20 12:31:14
Flexbox
lorentso, 2021-08-20 12:31:14

How to screw a smartgrid grid to gulp-y?

The question is addressed to a greater extent to those who have tested the SmartGrid grid. I'm having trouble figuring out how to use it in my gulp build.
The documentation on Github says (without explanation) that this can be done ... But I have questions - how to write the code, and where to insert it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Brendan Castaneda, 2021-08-20
@ae_ph

This site describes everything in great detail .

const gulp = require('gulp');
const smartGrid = require('smart-grid');
 
const options = {
   /* your grid settings here */
};
 
function grid(done){
   smartGrid('path-to-your-folder', options);
   done();
}
 
gulp.task('grid', grid);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question