Installation

Install via npm

$ npm i vue-bootstrap4-table --save

Currently this package will install only the vue-bootstrap4-table component, not their dependencies. So make sure to install the following dependencies.

Dependencies

  • bootstrap 4 (js and css) You should include bootstrap before vue-bootstrap4-table plugin.

We are using lodash internally, so you don't need to install separately for this plugin.

Install via CDN

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" crossorigin="anonymous">
...
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" crossorigin="anonymous"></script>
...
<script src="https://unpkg.com/vue-bootstrap4-table@1.0.15/dist/vue-bootstrap4-table.min.js" crossorigin="anonymous"></script>

If you've included bootstrap & jQuery packages already in your project, then include only vue-bootstrap4-table.min.js script.

Last updated