-
Iteration - pug 참고사이트카테고리 없음 2023. 2. 23. 13:05
https://pugjs.org/language/iteration.html
Iteration – Pug
Iteration Pug supports two primary methods of iteration: each and while. each Pug’s first-class iteration syntax makes it easier to iterate over arrays and objects in a template: ul each val in [1, 2, 3, 4, 5] li= val 1 2 3 4 5 You can also get the index
pugjs.org