V
V
Vadim Belkin2015-05-19 10:11:16
Pug
Vadim Belkin, 2015-05-19 10:11:16

How to insert data from json into jade template?

Tell me how and is it possible to insert data from a json file into a jade page template? I do the assembly in WebStorm via gulp and I would like to pull data from json files for certain pages, pass them to the mixin to generate a list of some elements, etc. Is it possible to implement and how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
Homsa Toft, 2015-05-19
@kostein

Jade + Json + local compiler (CodeKit/LiveReload/…) times
https://github.com/jadejs/jade/issues/833 English version
How to use Json data in jade ? more

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question