index.js 510 Bytes
Newer Older
1 2 3
import VueI18nPlugin from './vueI18nPlugin';
import AuthorityPlugin from './authorityPlugin';
import TabsPagePlugin from './tabsPagePlugin';
4
import { Table, WhiteCard, Upload } from '@/components';
wb-ct393452's avatar
wb-ct393452 committed
5 6

const Plugins = {
7 8 9 10 11
    install: function(Vue) {
        Vue.use(VueI18nPlugin);
        Vue.use(AuthorityPlugin);
        Vue.use(TabsPagePlugin);
        Vue.component('my-table', Table);
12 13
        Vue.component('my-card', WhiteCard);
        Vue.component('my-upload', Upload);
14 15
    },
};
wb-ct393452's avatar
wb-ct393452 committed
16
export default Plugins;