title: Is it possible to bind src to image from local json file in Vue.js?
body: <p>I have a local JSON file which have an image in it</p>
  
  <pre><code>[{
    "image": "/img/slider-first.jpg"
  }]
  </code></pre>
  
  <p>I'm requiring it in my component</p>
  
  <pre><code>const data = require('../assets/pets-data.json')
  </code></pre>
  
  <p>And do this</p>
  
  <pre><code>&lt;ul v-for="d in data" :key="d.name"&gt;
          &lt;img
            :src="'../assets'+d.image"
            alt=""&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>That doesn't work, my image doesn't load. </p>
  
  <p>In html it looks like this<br>
  <a href="https://i.stack.imgur.com/QVmqZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QVmqZ.png" alt="enter image description here"></a></p>
  
  <p>Structure of my project<br>
  <a href="https://i.stack.imgur.com/0rtEq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0rtEq.png" alt="enter image description here"></a></p>
  
  <p>So what am I doing wrong and how can I fix it?</p>