title: How can I display pagination laravel on the vue component?
body: <p>My controller like this :    </p>
  
  <pre><code>public function index()
  {
      $products = $this-&gt;product-&gt;list(); 
      dd($products);
      return view('admin.product.index',compact('products'));
  }
  </code></pre>
  
  <p>The result of <code>dd($products);</code> like this : <a href="https://postimg.org/image/w39usbfrv/" rel="nofollow noreferrer">https://postimg.org/image/w39usbfrv/</a></p>
  
  <p>My view blade laravel like this :</p>
  
  <pre><code>&lt;section class="content"&gt;
      &lt;product-list :product-data="{{json_encode($products)}}" :page="{{json_encode($products-&gt;links())}}"&gt;&lt;/product-list&gt;
  &lt;/section&gt;
  </code></pre>
  
  <p>My vue component product list like this :</p>
  
  <pre><code>&lt;template&gt;
      &lt;div class="box"&gt;
          ...
              &lt;table class="table table-list"&gt;
                  ...
                  &lt;tr v-for="item in products" :key="item.id"&gt;
                      &lt;td&gt;{{item.name}}&lt;/td&gt;
                      &lt;td&gt;{{item.createdAt}}&lt;/td&gt;
                      &lt;td&gt;{{item.updatedAt}}&lt;/td&gt;
                  &lt;/tr&gt;
                  ...
              &lt;/table&gt;
              &lt;div class="box-footer"&gt;
                  ...
                      {{this.page}}
                  ...
              &lt;/div&gt;
          ...
      &lt;/div&gt;
  &lt;/template&gt;
  &lt;script&gt;
      export default {
          props: ['productData','page'],
          data(){
              return {
                  ...
                  products: this.productData.data,
              }
          },
          ...
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>If I run the code, the result of <code>{{this.page}}</code> is empty</p>
  
  <p>If this : <code>{{$products-&gt;links()}}</code> placed in view laravel it works</p>
  
  <p>But if it passed on the vue component, the result is empty</p>
  
  <p>How can I solve this problem?</p>
  
  <p>Note :</p>
  
  <p>I know how to use ajax request. But I don't use it. Here I just want to try the another way</p>