解决十万级数据量渲染的VUE组件。 当我们遇到一个需求,需要渲染大量的数据,且不能使用懒加载,我们怎么办?本项目的实现为大家提供了一个解决方案。1000000+数据完美加载,无卡顿,无卡死。 参数
@param {Array} :data:Array // 数据
@param {NUMBER} :nodeHeight //内容高度
@param {NUMBER} :scale: // 每次加载条数
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For a detailed explanation on how things work, check out the guide and docs for vue-loader.