A
A
Anton2017-10-24 14:49:35
HTML
Anton, 2017-10-24 14:49:35

Nunjucks how to loop by item?

I don’t understand if it’s possible to distribute an item in nunchucks through the fot cycle like in jade?
jade exampel
- for (i=0; i<10; i ++)
item
I think it's clear, but how to do it in nunchucks? if possible of course.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
frammmm, 2017-10-24
@frammmm

So?

{% for array_item in array %}
  {{array_item.поле}}
{% endfor %}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question