Answer the question
In order to leave comments, you need to log in
How to set paths to images correctly?
There is a component:
<b-card
:title="prod.name"
:img-src="require(`@/assets/img/${prod.image}`)"
img-alt="Image"
img-top
v-for="prod of PRODUCTS"
:key="prod.article"
>
<b-card-text>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question