安装
通过 npm 或 yarn 包含 Bootstrap Table 的源 CSS 和 JavaScript 文件。
npm install bootstrap-table
yarn add bootstrap-table
阅读安装文档
CDN
当您只需要包含 Bootstrap Table 编译后的 CSS 或 JS 时,请使用 CDNJS。
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-table@1.26.0/dist/bootstrap-table.min.css">
<script src="https://cdn.jsdelivr.net/npm/bootstrap-table@1.26.0/dist/bootstrap-table.min.js"></script>
探索文档