title: Search through array API JSON Vue
body: <p>This is my first time using Vuejs. I am building a web app where I load images from flickr API that are stored in an array. I would like to do a basic search bar that will filter the images based on the word entered but I am not sure how to do that.</p>
  
  <p>I have in my template  </p>
  
  <pre><code>&lt;input type="text" v-model="search" placeholder="search for image" /&gt;
  ...
  &lt;li class="media" v-for="flickrImage in flickrImage"&gt;
  </code></pre>
  
  <p>The function I have for searching is:  </p>
  
  <pre><code>export default {
  name: 'Flickrlist',
  data() {
    return {
      flickrImage: [],
      search: ''
    }
  },
  
  computed: {
    filteredImage: function () {
      return this.flickrImage.filter((flickrImage) =&gt; {
        return this.flickrImage.title.match(this.search)
      });
    }
  }
  </code></pre>
  
  <p>How can I pass the <code>filteredImage</code>?</p>