forked from zhurui/management
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;
|