1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-04-15 11:56:44 +02:00

34 lines
818 B
Vue
Raw Normal View History

2022-07-29 23:23:08 +12:00
<script>
import { RouterLink, RouterView } from 'vue-router'
import CommonMixins from './mixins/CommonMixins.js'
// import WebsocketMixin from './mixins/WebsocketMixin.js'
import Notifications from "./components/Notifications.vue"
import { mailbox } from "./stores/mailbox"
// import RepoSelector from "./components/RepoSelector.vue"
// import ThemeToggle from "./components/ThemeToggle.vue"
// import Loading from './components/Loading.vue'
2022-07-29 23:23:08 +12:00
export default {
mixins: [CommonMixins],
2022-10-16 11:51:20 +13:00
2022-07-29 23:23:08 +12:00
components: {
Notifications,
2022-07-29 23:23:08 +12:00
},
2022-10-16 11:51:20 +13:00
beforeMount() {
document.title = document.title + ' - ' + location.hostname
window.baseURL = this.$router.resolve(`/`).href
mailbox.showTagColors = localStorage.getItem('showTagsColors') == '1'
2022-07-29 23:23:08 +12:00
},
2022-10-16 11:51:20 +13:00
2022-07-29 23:23:08 +12:00
mounted() {
},
2022-10-16 11:51:20 +13:00
2022-07-29 23:23:08 +12:00
}
</script>
<template>
<RouterView />
<Notifications />
2022-07-29 23:23:08 +12:00
</template>