element-plus/packages/popover/index.ts
2020-10-29 19:37:18 +08:00

11 lines
296 B
TypeScript

import { App } from 'vue'
import Popover from './src/index.vue'
import PopoverDirective, { VPopover } from './src/directive'
export default (app: App): void => {
app.component(Popover.name, Popover)
app.directive(VPopover, PopoverDirective)
}
export { Popover, PopoverDirective, VPopover }