Skip to content

Commit a7bb9ec

Browse files
add component register
1 parent ab8ac54 commit a7bb9ec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import Bus from './Bus'
22
import LoadingMixin from './LoadingMixin';
3-
import VueProgressBar from 'vue-progressbar'
3+
import VueProgressBar from 'vue-progressbar';
4+
import LoadingComponent from './LoadingComponent.vue'
45

56
export default {
67

@@ -14,7 +15,7 @@ export default {
1415
Vue.use(VueProgressBar, pbConfig);
1516

1617
Vue.mixin(LoadingMixin);
17-
Vue.component('vue-loading-component');
18+
Vue.component('vue-loading-component', LoadingComponent);
1819
}
1920

2021
}

0 commit comments

Comments
 (0)