// Global components compiled by webpack may expose the Vue component under
// `.default`, so normalize both CommonJS and ES module shapes here.
const resolveComponent = function (component) {
	return component.default || component;
}

Vue.component('modal', resolveComponent(require('./components/mycomponents/modal/modal.vue')));
Vue.component('modal-header', resolveComponent(require('./components/mycomponents/modal/header.vue')));
Vue.component('modal-body', resolveComponent(require('./components/mycomponents/modal/body.vue')));
Vue.component('modal-footer', resolveComponent(require('./components/mycomponents/modal/footer.vue')));

Vue.component('uploader', resolveComponent(require('./components/mycomponents/uploader.vue')));
Vue.component('admin-data-table', resolveComponent(require('./components/AdminDataTable.vue')));
