title: Laravel 5.4 pagination links not showing in the view
body: <p>I'm using <a href="https://laravel.com/docs/5.4/pagination" rel="nofollow noreferrer">Laravel Database: Pagination</a> to show the links in the blade template. I can view the data in columns but not the links.</p>
  
  <p>This is the controller function I use to pass the data to view.</p>
  
  <pre><code>public function showProducts(){
  
   $products = DB::table('products')-&gt;orderBy('created_at')-&gt;simplePaginate(9);
  
    return view('products', ['products' =&gt; $products]);
  }
  </code></pre>
  
  <p>And this is the view section to show the links.</p>
  
  <pre><code>&lt;div class="row text-center"&gt;
     &lt;div class="col-lg-12"&gt;
        &lt;ul class="pagination"&gt;
           {{ $products-&gt;links() }}                    
        &lt;/ul&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  &lt;!-- /.row --&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/uDESK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uDESK.png" alt="enter image description here"></a></p>
  
  <p>But I can't see any links. Is there a way to solve this?</p>