UNPKG

a-virtual-table

Version:

The virtual scrolling component developed based on the Table component of Ant Design supports dynamic height and solves the problem of scrolling stuck when the amount of data is large.

29 lines (27 loc) 662 B
import resolve from 'rollup-plugin-node-resolve' import { eslint } from 'rollup-plugin-eslint' import commonjs from 'rollup-plugin-commonjs' import autoprefixer from 'autoprefixer' import vue from 'rollup-plugin-vue' import babel from '@rollup/plugin-babel' export default { input: './src/index.js', plugins: [ resolve({ extensions: ['.js', '.vue'] }), eslint({ exclude: 'node_modules/**' }), vue({ style: { postcssPlugins: [autoprefixer] } }), babel({ exclude: 'node_modules/**', extensions: ['.js', '.vue'] }), commonjs() ], // 外部模块 external: ['vue', 'ant-design-vue'] }