nimble-ui
Version:
24 lines (22 loc) • 576 B
JavaScript
import { callFn } from 'nimble-lib';
import initFactory from '../../../_commons/helpers/initFactory';
import NuImg from './Img';
import NuImgae from './imgae';
import NuImgb from './imgb';
import NuImgc from './imgc';
let _nuImg = initFactory(NuImg);
let install = _nuImg.install;
_nuImg.install = (Vue, options) => {
callFn(install, [Vue, options]);
[
NuImgae,
NuImgb,
NuImgc
].forEach((item) => {
Vue.use(item, options);
});
};
_nuImg.NuImgae = NuImgae;
_nuImg.NuImgb = NuImgb;
_nuImg.NuImgc = NuImgc;
export default _nuImg;