index.js 456 B

12345678910111213141516
  1. import { vueMixinButton } from '@/utils/mixin.js';
  2. import mixinsCommon from '@/utils/mixins/common.js';
  3. // import { YuEmptyMsg } from '@/components/base/YuEmptyMsg/index.vue';
  4. const install = function (Vue) {
  5. Vue.mixin(vueMixinButton);
  6. Vue.mixin(mixinsCommon);
  7. // Vue.component(YuEmptyMsg.name, YuEmptyMsg);
  8. };
  9. if (typeof window !== 'undefined' && window.Vue) {
  10. install(window.Vue);
  11. }
  12. export default {
  13. name: 'oca-global-components',
  14. install
  15. };