gulp-file-include
gulp-file-include copied to clipboard
If / else @@loop with params with object
@@loop('html/components/stacked-cards/stacked-cards.html', [ { "stackedCards": { "image": "", "orderNum": "54674567", "titleBox": "شركة الهدى للصناعات" }}, { "stackedCards": { "image": "/images/section1.svg", "orderNum": "54674567", "titleBox": "شركة الهدى للصناعات" }},
])
@@if (context.stackedCards.image) { //test } //not working
Cannot read property 'orderNum' of undefined: (context.stackedCards.orderNum)