Skip to content

Commit

Permalink
Improved: import and export in alphabetical order
Browse files Browse the repository at this point in the history
  • Loading branch information
ymaheshwari1 committed Jan 9, 2024
1 parent 0b89888 commit 4676c15
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ import '@ionic/vue/css/text-transformation.css';
import '@ionic/vue/css/flex-utils.css';
import '@ionic/vue/css/display.css';

export { default as DxpImage } from './DxpImage.vue';
export { default as DxpUserProfile } from './DxpUserProfile.vue'
export { default as DxpAppVersionInfo } from './DxpAppVersionInfo.vue';
export { default as DxpImage } from './DxpImage.vue';
export { default as DxpLanguageSwitcher } from './DxpLanguageSwitcher.vue';
export { default as DxpMenuFooterNavigation } from './DxpMenuFooterNavigation.vue';
export { default as DxpLogin } from './DxpLogin.vue';
export { default as DxpMenuFooterNavigation } from './DxpMenuFooterNavigation.vue';
export { default as DxpOmsInstanceNavigator } from './DxpOmsInstanceNavigator.vue'
export { default as DxpProductIdentifier } from "./DxpProductIdentifier.vue";
export { default as DxpShopifyImg } from './DxpShopifyImg.vue';
export { default as DxpUserProfile } from './DxpUserProfile.vue'
14 changes: 7 additions & 7 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ export let dxpComponents = {

app.component('DxpAppVersionInfo', DxpAppVersionInfo)
app.component('DxpImage', DxpImage)
app.component('DxpUserProfile', DxpUserProfile)
app.component('DxpLanguageSwitcher', DxpLanguageSwitcher)
app.component('DxpMenuFooterNavigation', DxpMenuFooterNavigation)
app.component('DxpLogin', DxpLogin)
app.component('DxpMenuFooterNavigation', DxpMenuFooterNavigation)
app.component('DxpOmsInstanceNavigator', DxpOmsInstanceNavigator)
app.component('DxpProductIdentifier', DxpProductIdentifier)
app.component('DxpShopifyImg', DxpShopifyImg)
app.component('DxpUserProfile', DxpUserProfile)

showToast = options.showToast

Expand Down Expand Up @@ -104,20 +104,20 @@ export let dxpComponents = {
export {
appContext,
DxpImage,
DxpUserProfile,
DxpLogin,
DxpMenuFooterNavigation,
DxpOmsInstanceNavigator,
DxpProductIdentifier,
DxpShopifyImg,
DxpUserProfile,
getProductIdentificationValue,
goToOms,
i18n,
imageContext,
initialiseFirebaseApp,
DxpLogin,
loginContext,
notificationContext,
DxpOmsInstanceNavigator,
DxpProductIdentifier,
productIdentificationContext,
DxpShopifyImg,
shopifyImgContext,
translate,
useAuthStore,
Expand Down

0 comments on commit 4676c15

Please sign in to comment.