diff --git a/src/components/AppVersionInfo.vue b/src/components/AppVersionInfo.vue new file mode 100644 index 0000000..5aa4793 --- /dev/null +++ b/src/components/AppVersionInfo.vue @@ -0,0 +1,19 @@ + + + \ No newline at end of file diff --git a/src/components/index.ts b/src/components/index.ts index c59a932..0e35f56 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -14,6 +14,7 @@ import '@ionic/vue/css/text-transformation.css'; import '@ionic/vue/css/flex-utils.css'; import '@ionic/vue/css/display.css'; +export { default as AppVersionInfo } from './AppVersionInfo.vue'; export { default as ProductIdentifier } from "./ProductIdentifier.vue"; export { default as LanguageSwitcher } from './LanguageSwitcher.vue'; export { default as OmsInstanceNavigator } from './OmsInstanceNavigator.vue' diff --git a/src/index.ts b/src/index.ts index 29b77bc..d0a7516 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, OmsInstanceNavigator, ProductIdentifier, ShopifyImg } from "./components"; +import { AppVersionInfo, LanguageSwitcher, OmsInstanceNavigator, ProductIdentifier, ShopifyImg } from "./components"; import Login from "./components/Login"; import { goToOms } from "./utils"; import { initialiseFirebaseApp } from "./utils/firebase" @@ -41,6 +41,7 @@ export let dxpComponents = { app.use(pinia); app.use(i18n); + app.component('AppVersionInfo', AppVersionInfo) app.component('LanguageSwitcher', LanguageSwitcher) app.component('Login', Login) app.component('OmsInstanceNavigator', OmsInstanceNavigator)