element-ui/packages/popover/index.js

15 lines
336 B
JavaScript
Raw Permalink Normal View History

2021-06-07 11:56:04 +08:00
import Popover from './src/main';
import directive from './src/directive';
import Vue from 'vue';
Vue.directive('popover', directive);
/* istanbul ignore next */
Popover.install = function(Vue) {
Vue.directive('popover', directive);
Vue.component(Popover.name, Popover);
};
Popover.directive = directive;
export default Popover;