mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
14 lines
336 B
JavaScript
14 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;
|