You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
475 B
18 lines
475 B
import { VueConstructor } from 'vue'
|
|
import { VxeUI } from '../ui'
|
|
import VxeGridComponent from './src/grid'
|
|
|
|
export const VxeGrid = Object.assign({}, VxeGridComponent, {
|
|
install (app: VueConstructor) {
|
|
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
|
|
|