Is it possible to create a component if you to display products using twig?

Put the goods in a loop of twig. But the problem is that using vue - changes occur in all commodities, and I have only where click. It is necessary to create the component. But is this possible like this, how are my goods?
{% for k, product in currentproducts %}
 {% for k2, p in product.img %}
 <img src="/images/product/{{ p.img_name }}">
 {% endfor %}
 {% endfor %}
March 23rd 20 at 18:44
1 answer
March 23rd 20 at 18:46
The first thing that comes to mind to do a render directly in vue

Find more questions by tags Vue.js