mirror of
https://gitee.com/xuliangzhan_admin/vxe-table.git
synced 2026-01-21 05:27:57 +08:00
14 lines
374 B
TypeScript
14 lines
374 B
TypeScript
import { App } from 'vue'
|
|
import VxeToolbarComponent from './src/toolbar'
|
|
import { dynamicApp } from '../dynamics'
|
|
|
|
export const Toolbar = Object.assign(VxeToolbarComponent, {
|
|
install: function (app: App) {
|
|
app.component(VxeToolbarComponent.name, VxeToolbarComponent)
|
|
}
|
|
})
|
|
|
|
dynamicApp.component(VxeToolbarComponent.name, VxeToolbarComponent)
|
|
|
|
export default Toolbar
|