2022-07-29 23:23:08 +12:00
|
|
|
<script>
|
2023-09-14 22:30:20 +12:00
|
|
|
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 {
|
2023-09-14 22:30:20 +12:00
|
|
|
mixins: [CommonMixins],
|
2022-10-16 11:51:20 +13:00
|
|
|
|
2022-07-29 23:23:08 +12:00
|
|
|
components: {
|
2023-09-14 22:30:20 +12:00
|
|
|
Notifications,
|
2022-07-29 23:23:08 +12:00
|
|
|
},
|
2022-10-16 11:51:20 +13:00
|
|
|
|
2023-09-14 22:30:20 +12: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>
|
2023-09-14 22:30:20 +12:00
|
|
|
<RouterView />
|
|
|
|
<Notifications />
|
2022-07-29 23:23:08 +12:00
|
|
|
</template>
|