introduction.md 1.6 KB


layout: docs title: Introduction description: An overview of Bootstrap Table Vue Component, how to install and what's includes vue files. group: vuejs redirect_from:

  • "/vuejs/" toc: true ---

We have a Bootstrap Table Component for Vue.js 2.0+, and it should be able to work with the full API, the full extensions and the full CSS frameworks.

Installation

Dependencies

NPM

Install and manage Bootstrap table's CSS, JavaScript, locales, and extensions using npm.

{% highlight sh %} npm install bootstrap-table {% endhighlight %}

UNPKG

The folks over at UNPKG graciously provide CDN support for CSS and JavaScript of Bootstrap table. Just use these links.

{% highlight html %} https://cdn.jsdelivr.net/npm/bootstrap-table@{{ site.current_version }} {% endhighlight %}

Build Files

dist/ folder includes the following vue component files:

{% highlight plaintext %} bootstrap-table/ └── dist/

├── bootstrap-table-vue.js
├── bootstrap-table-vue.min.js
├── bootstrap-table-vue.esm.js
└── bootstrap-table-vue.esm.min.js

{% endhighlight %}

  • bootstrap-table-vue.js: UMD builds can be used directly in the browser via a <script> tag.
  • bootstrap-table-vue.esm.js ES module builds are intended for use with modern bundlers like webpack 2 or rollup.