Total Complexity | 2 |
Complexity/F | 2 |
Lines of Code | 14 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import Vue from 'vue'; |
||
2 | import VueCsvImport from "./components/VueCsvImport"; |
||
3 | |||
4 | function install(Vue, options = {}) { |
||
5 | Vue.component(options.componentName || 'VueCsvImport', VueCsvImport); |
||
6 | } |
||
7 | |||
8 | if (typeof window !== undefined && window.Vue && window.Vue === Vue) { |
||
9 | install(window.Vue); |
||
10 | } |
||
11 | |||
12 | export { VueCsvImport, install }; |
||
13 | |||
14 | export default VueCsvImport; |
||
15 |