title: Conditional a href in Vuejs
body: <p>I am rendering a list of store titles in VueJS, some of them have a url property, some of them don't. If the title has a url, I want to add a a href property:</p>
  
  <pre><code>&lt;div v-for="(store, index) in stores"&gt;
    &lt;span v-if="store.link"&gt;&lt;a :href="store.link" target="_blank"&gt;{{ store.title }}&lt;/a&gt;&lt;/span&gt;
    &lt;span v-else="store.link"&gt;{{ store.title }}&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This works, but the code looks duplicated. Is there anyway to simplify the code further?</p>