mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 04:08:10 +08:00
15 lines
336 B
JavaScript
15 lines
336 B
JavaScript
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;
|