import {App} from 'vue' import Popover from './src/popover.vue' import PopoverDirective, {VPopover} from './src/directive' import {SFCWithInstall} from "@roui/utils/types"; Popover.install = (app: App): void => { app.component(Popover.name, Popover) app.directive(VPopover, PopoverDirective) } Popover.directive = PopoverDirective const _Popover: SFCWithInstall = Popover export default _Popover