1 | import VueFunLoading from './components/VueFunLoading';
|
2 |
|
3 | const install = function (Vue, opts = {}) {
|
4 | if (install.installed) return;
|
5 |
|
6 | Vue.component(VueFunLoading.name, VueFunLoading);
|
7 | };
|
8 |
|
9 | if (typeof window !== 'undefined' && window.Vue) {
|
10 | install(window.Vue);
|
11 | }
|
12 |
|
13 | export default install;
|