# pl-table **Repository Path**: ulia/pl-table ## Basic Information - **Project Name**: pl-table - **Description**: A table based on element - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-06-09 - **Last Updated**: 2021-04-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # pl-table 当前版本: "version": "2.2.0" > 一个表格插件(完美解决万级数据渲染卡顿问题) > 流畅渲染万级数据并不会影响到el-table的原有功能 > element版本兼容:目前测试能兼容的element-ui的版本为 2.3.9 - 2.11.1(不代表高版本就不能使用) > author: pengLei # way to install > npm i pl-table vuedraggable # 用前须知 (如果你使用 use-virtual(渲染大数据) 请看如下图)  ## 引入方式 如下 ``` javascript // main.js // 注:需要在Vue.use(ElementUi) 之前引入 (因为基于ele,所以需要安装element) import ElementUI from 'element-ui'; import 'element-ui/lib/theme-chalk/index.css'; import plTable from 'pl-table' Vue.use(ElementUI); Vue.use(plTable); new Vue({ el: '#app', render: h => h(App) }); ``` # 报错(使用注意点) 原因:内置组件采用JSX写法 ```shell error in ./node_modules/pl-table/package/src/virtual-table-header-render.js Module parse failed: Unexpected token (64:8) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | if (isGroup) this.$parent.isGroup = true; | return ( >