element-plus/packages/popover/index.ts
jeremywu 73fb527f49
feat/Popover (#339)
* init popover

* feat(popover): component almost done. next `directive`

* modifications

* code finished

* partial complete testing code

* feat(popover): popover component

* fix linter complains
2020-10-19 13:44:50 +08:00

9 lines
248 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)
}