# vxe-table [](https://gitee.com/x-extends/vxe-table/stargazers) [](https://www.npmjs.com/package/vxe-table) [](https://github.com/x-extends/vxe-table/actions/workflows/webpack.yml) [](https://npm-stat.com/charts.html?package=vxe-table) [](https://github.com/x-extends/vxe-table/issues) [](https://github.com/x-extends/vxe-table/issues?q=is%3Aissue+is%3Aclosed) [](https://github.com/x-extends/vxe-table/pulls) [](https://github.com/x-extends/vxe-table/pulls?q=is%3Apr+is%3Aclosed) [](LICENSE) 一个基于 [Vxe UI](https://github.com/x-extends/vxe-pc-ui) 的 PC 端表格组件,支持复制粘贴、数据透视表、虚拟列表高性能的表格解决方案 ## 浏览器支持  |  |  |  |  --- | --- | --- | --- | --- | 80+ ✔ | 80+ ✔ | 90+ ✔ | 75+ ✔ | 10+ ✔ | ## 安装 版本:[vue](https://www.npmjs.com/package/vue) 2.x ```shell npm install vxe-table@3 ``` Get on [unpkg](https://unpkg.com/vxe-table/) and [cdnjs](https://cdn.jsdelivr.net/npm/vxe-table/) ### NPM ```shell npm install vxe-table@3 vxe-pc-ui@3 ``` ### 只使用表格 ```javascript import Vue from 'vue' // ... import VxeTable from 'vxe-table' import 'vxe-table/lib/style.css' // ... Vue.use(VxeTable) ``` ### 使用表格与 UI 库 ```javascript import Vue from 'vue' // ... import VxeTable from 'vxe-table' import 'vxe-table/lib/style.css' import VxeUI from 'vxe-pc-ui' import 'vxe-pc-ui/lib/style.css' // ... Vue.use(VxeUI) Vue.use(VxeTable) ``` ### CDN 使用第三方 CDN 方式记得锁定版本号,避免受到非兼容性更新的影响 ***不建议将第三方的 CDN 地址用于正式环境,因为该连接随时都可能会失效*** ```HTML