I currently have a large Vuejs application where I imported all my components globally in the app.js file. While it's functioning well, I believe reorganizing the component imports into a separate file would improve the overall structure of the project.
Is this feasible?
To give you an idea, here is an excerpt from my app.js file:
window.Vue = require('vue');
Vue.component('loading', require('./components/global-components/Loading.vue').default);
Vue.component('carousel', require('./components/global-components/Carousel.vue').default);
Vue.component('dropdown', require('./components/global-components/Dropdown.vue').default);
Vue.component('tab', require('./components/global-components/Tab.vue').default);
...
...
...
...
Over 50 components are included in this setup.