V
V
Vasya Bulka2021-01-19 10:06:37
gulp.js
Vasya Bulka, 2021-01-19 10:06:37

Is it possible to pass data (js, json, yml) to Gulp-Panini?

I'm using Gulp-panini .
It follows from the panini docks that data can be transferred from the data/global.json folder to any html components that are located in the partials folder.

data
    global.json
partials
    block-1/block.html
    block-2/block.html


Maybe someone in the know, I want to put my json in the block folder for convenience.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question