How to do it…

  1. Add this CDN link just above the closing head tag in app/_layout.ejs:
<link href="https://cdnjs.cloudflare.com/ajax/libs/jquery-bootgrid/1.3.1/jquery.bootgrid.css" rel="stylesheet" />
  1. In main.scss, comment out other recipe-specific imports and add the following line to the very bottom of the file:
@import "recipe06-08.scss";
  1. In app/partial/_js.ejs, add two script tags, referencing the CDN JS files for Bootgrid and to display Font Awesome icons, as follows:
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-bootgrid/1.3.1/jquery.bootgrid.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-bootgrid/1.3.1/jquery.bootgrid.fa.js"></script>
  1. While still in the same file, at the very bottom, ...

Get Bootstrap 4 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.