Bootstrap table (当前版本 v{{ site.current_version }}) 可以有几种快速入门的方法,每种适合不同技能等级的人使用,往下看哪种适合你。
包含了 css,JavaScript,多语言和扩展,以及文档。
CDNJS 或者 bootcss 提供了 CDN 来支持 Bootstrap table 的 CSS 和 JavaScript 文件链接。
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/{{ site.current_version }}/bootstrap-table.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/{{ site.current_version }}/bootstrap-table.min.js"></script>
<!-- Latest compiled and minified Locales -->
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/{{ site.current_version }}/locale/bootstrap-table-zh-CN.min.js"></script>
通过 Bower 来安装和管理 Bootstrap table 的 CSS,JavaScript, 多语言和扩展。
$ bower install bootstrap-table