# Installation

## Install via npm or yarn

**`$ npm i vue-bootstrap4-table --save`**

**`$ yarn add vue-bootstrap4-table`**

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.

{% hint style="info" %}
We are using **`lodash`** internally, so you don't need to install separately for this plugin.
{% endhint %}

## Install via CDN

```markup
<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.1.10/dist/vue-bootstrap4-table.min.js" crossorigin="anonymous"></script>
```

{% hint style="warning" %}
If you've included bootstrap & jQuery packages already in your project, then include only **vue-bootstrap4-table.min.js** script.
{% endhint %}
