Skip to content

Commit 4bd38c8

Browse files
author
utkace
committed
feature: export IKImage, IKContext, IKUpload
1 parent e6f158f commit 4bd38c8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/index.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import * as plugin from "./plugin";
2+
import IKContext from "./components/IKContext.vue";
3+
import IKImage from "./components/IKImage.vue";
4+
import IKUpload from "./components/IKUpload.vue";
5+
import Intersect from "./components/Intersect.vue";
6+
const ImageKit = {
7+
install: (Vue, options = {}) => {
8+
plugin.install(Vue, options.components ? options: {...options, components: {IKContext, IKImage, IKUpload, Intersect}})
9+
}
10+
};
11+
12+
export {
13+
ImageKit as default,
14+
ImageKit,
15+
IKContext, IKImage, IKUpload, Intersect
16+
};

0 commit comments

Comments
 (0)