title: Vue v-bind conditional local file
body: <p>I have a code like this :</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;img v-bind:src="user.photoUrl ? user.photoUrl : './assets/logo.png'"&gt;
  </code></pre>
  
  <p>But that directory access link renders just like a string.</p>
  
  <p>Though it works with direct links like <code>https://website.com/imageName.png</code></p>
  
  <p>Is there any way to make it render like a directory call?</p>