1<template> 2 <div id="app"> 3 <router-view /> 4 <confirm-modal /> 5 <b-orchestrator /> 6 </div> 7</template> 8 9<script> 10import ConfirmModal from '@/components/Global/ConfirmModal.vue'; 11import { BOrchestrator } from 'bootstrap-vue-next'; 12 13export default { 14 name: 'App', 15 components: { ConfirmModal, BOrchestrator }, 16 computed: { 17 assetTag() { 18 return ''; 19 //return this.$store.getters['global/assetTag']; 20 }, 21 }, 22 watch: { 23 assetTag: function (tag) { 24 if (tag) { 25 document.title = `${tag} - ${this.$route.meta.title}`; 26 } 27 }, 28 $route: function (to) { 29 document.title = to.meta.title || 'Page is missing title'; 30 if (this.assetTag) { 31 document.title = `${this.assetTag} - ${to.meta.title}`; 32 } 33 }, 34 }, 35 getters: {}, 36 created() { 37 document.title = ''; 38 //document.title = this.$route.meta.title || 'Page is missing title'; 39 }, 40}; 41</script> 42 43<style lang="scss"> 44@import '@/assets/styles/_obmc-custom'; 45</style> 46