element-plus/packages/popover/index.ts

9 lines
248 B
TypeScript
Raw Normal View History

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)
}