title: How to have laravel pagination links using the bootstrap 4 default pagination styles?
body: <p>I'm using laravel default pagination with:
                                                  <code>{{$posts-&gt;links()}}</code> and the pagination works, the links appear and it works correct. </p>
  
  <p>But the style is like this:</p>
  
  <p><a href="https://i.stack.imgur.com/DtwSQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DtwSQ.png" alt="enter image description here"></a></p>
  
  <p>Do you know why is not using the bootstrap 4 default styles? I'm using Bootstrap 4. </p>
  
  <p>Also I have inside views/vendor/pagination the files:</p>
  
  <pre><code>- bootstrap4-blade.php
  -default.blade.php
  -semantic-ui.blade.php
  -simple-bootstra-4.blade.php
  -simple-default.blade.php
  </code></pre>
  
  <p>Generated HTML:</p>
  
  <pre><code>&lt;ul class="pagination"&gt;
      &lt;li class="disabled"&gt;&lt;span&gt;«&lt;/span&gt;&lt;/li&gt;
      &lt;li class="active"&gt;&lt;span&gt;1&lt;/span&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="http://proj.test/user/profile?page=2"&gt;2&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="http://proj.test/user/profile?page=2" rel="next"&gt;»&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>In "<a href="http://proj.test/css/app.css" rel="nofollow noreferrer">http://proj.test/css/app.css</a>" it appears:</p>
  
  <pre><code>.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
  }
  
  .page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
  }
  
  .page-item:last-child .page-link {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
  }
  
  .page-item.active .page-link {
    z-index: 2;
    color: #fff;
    background-color: #0FACF3;
    border-color: #0FACF3;
  }
  
  .page-item.disabled .page-link {
    color: #868e96;
    pointer-events: none;
    background-color: #fff;
    border-color: #ddd;
  }
  
  .page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #0FACF3;
    background-color: #fff;
    border: 1px solid #ddd;
  }
  
  .page-link:focus,
  .page-link:hover {
    color: #097aad;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #ddd;
  }
  
  .pagination-lg .page-link {
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
    line-height: 1.5;
  }
  
  .pagination-lg .page-item:first-child .page-link {
    border-top-left-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
  }
  
  .pagination-lg .page-item:last-child .page-link {
    border-top-right-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
  }
  
  .pagination-sm .page-link {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
  }
  
  .pagination-sm .page-item:first-child .page-link {
    border-top-left-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
  }
  
  .pagination-sm .page-item:last-child .page-link {
    border-top-right-radius: 0.2rem;
    border-bottom-right-radius: 0.2rem;
  }
  </code></pre>
  
  <p>In the page is loaded:</p>
  
  <pre><code>   &lt;link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"&gt;
      &lt;link href="https://fonts.googleapis.com/css?family=Nunito:200,400,600,700" rel="stylesheet"&gt;
      &lt;link href="http://proj.test/css/app.css" rel="stylesheet" type="text/css"&gt;
      &lt;link href="http://proj.test/css/toastr.min.css" rel="stylesheet" type="text/css"&gt;
      &lt;link href="http://proj.test/css/bootstrap-datetimepicker.css" rel="stylesheet" /&gt;
  </code></pre>