2016-11-08 15:01:00 +08:00
|
|
|
import Popover from './src/main';
|
|
|
|
import directive from './src/directive';
|
|
|
|
import Vue from 'vue';
|
2016-10-20 14:35:12 +08:00
|
|
|
|
|
|
|
Vue.directive('popover', directive);
|
2016-07-27 14:15:02 +08:00
|
|
|
|
2016-10-19 22:48:35 +08:00
|
|
|
/* istanbul ignore next */
|
2016-07-27 14:15:02 +08:00
|
|
|
Popover.install = function(Vue) {
|
2016-10-20 14:35:12 +08:00
|
|
|
Vue.directive('popover', directive);
|
2016-07-27 14:15:02 +08:00
|
|
|
Vue.component(Popover.name, Popover);
|
|
|
|
};
|
2016-10-20 14:35:12 +08:00
|
|
|
Popover.directive = directive;
|
2016-07-27 14:15:02 +08:00
|
|
|
|
2016-11-08 15:01:00 +08:00
|
|
|
export default Popover;
|