element/packages/popover/index.js

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;