title: Vue js with laravel not geting api data and response
body: <p>this is Vue js component please help me to get data in template. getting data from vue js api in console i got undefined. Not getting blogList Data please help to get blog list data.
  my api is correct and fetch data.</p>
  <pre><code>&lt;template&gt;
    &lt;div v-for=&quot;blog in blogList&quot;&gt;
      Hii i am {{ blog.name }} , {{ blog.mail }}
    &lt;/div&gt;
  &lt;/template&gt;
  
  &lt;script&gt;
  import ApiRequest from &quot;../../js/api-request&quot;;
  
  export default {
  
    data() {
      return {
        blogList: '',
      };
    },
  
    created() {
      const request = new ApiRequest('/api/blog/list', (blogList) =&gt; {
        this.blogList = blogList;
        console.log(blogList);
      }, () =&gt; {
        //
      });
      request.get();
    }
  };
  &lt;/script&gt;
  </code></pre>