0

I am trying to output value from vue variable within quotation.

<div v-for="product in inventory" class="col">
   <div class="card shadow-sm">
      <div style="background-image: url('images/{{ product.img }}')"
                class="bd-placeholder-img card-img-top"></div>
   </div>
4

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.