vxe-table
Version:
A PC-end table component based on Vxe UI, supporting copy-paste, data pivot table, and high-performance virtual list table solution.
19 lines (14 loc) • 471 B
text/typescript
import { App } from 'vue'
import { VxeUI } from '../ui'
import VxeGridComponent from './src/grid'
export const VxeGrid = Object.assign({}, VxeGridComponent, {
install (app: App) {
app.component(VxeGridComponent.name as string, VxeGridComponent)
}
})
if (VxeUI.dynamicApp) {
VxeUI.dynamicApp.component(VxeGridComponent.name as string, VxeGridComponent)
}
VxeUI.component(VxeGridComponent)
export const Grid = VxeGrid
export default VxeGrid