diff --git a/src/components/OmsInstanceNavigator.vue b/src/components/OmsInstanceNavigator.vue new file mode 100644 index 0000000..80bd152 --- /dev/null +++ b/src/components/OmsInstanceNavigator.vue @@ -0,0 +1,40 @@ + + + \ No newline at end of file diff --git a/src/components/index.ts b/src/components/index.ts index 0fa9914..c59a932 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -16,4 +16,5 @@ import '@ionic/vue/css/display.css'; export { default as ProductIdentifier } from "./ProductIdentifier.vue"; export { default as LanguageSwitcher } from './LanguageSwitcher.vue'; +export { default as OmsInstanceNavigator } from './OmsInstanceNavigator.vue' export { default as ShopifyImg } from './ShopifyImg.vue'; diff --git a/src/index.ts b/src/index.ts index 9a57894..29b77bc 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,7 +3,7 @@ declare var process: any; import { createPinia } from "pinia"; import { useProductIdentificationStore } from "./store/productIdentification"; import { useAuthStore } from "./store/auth"; -import { LanguageSwitcher, ProductIdentifier, ShopifyImg } from "./components"; +import { LanguageSwitcher, OmsInstanceNavigator, ProductIdentifier, ShopifyImg } from "./components"; import Login from "./components/Login"; import { goToOms } from "./utils"; import { initialiseFirebaseApp } from "./utils/firebase" @@ -43,8 +43,9 @@ export let dxpComponents = { app.component('LanguageSwitcher', LanguageSwitcher) app.component('Login', Login) - app.component('ShopifyImg', ShopifyImg) + app.component('OmsInstanceNavigator', OmsInstanceNavigator) app.component('ProductIdentifier', ProductIdentifier) + app.component('ShopifyImg', ShopifyImg) loginContext.login = options.login loginContext.logout = options.logout @@ -70,19 +71,20 @@ export let dxpComponents = { } export { - Login, - ShopifyImg, appContext, goToOms, i18n, + initialiseFirebaseApp, + Login, loginContext, + noitificationContext, + OmsInstanceNavigator, + ProductIdentifier, productIdentificationContext, + ShopifyImg, shopifyImgContext, translate, useAuthStore, useProductIdentificationStore, - useUserStore, - initialiseFirebaseApp, - noitificationContext, - ProductIdentifier + useUserStore }