2019-10-08 01:14:38 +00:00
|
|
|
<template>
|
|
|
|
<div id="app">
|
|
|
|
<router-view />
|
2022-10-19 02:54:01 +00:00
|
|
|
<theme-picker />
|
2019-10-08 01:14:38 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2022-10-19 02:54:01 +00:00
|
|
|
import ThemePicker from "@/components/ThemePicker";
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: "App",
|
|
|
|
components: { ThemePicker },
|
2021-06-10 10:05:27 +00:00
|
|
|
metaInfo() {
|
|
|
|
return {
|
|
|
|
title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
|
|
|
|
titleTemplate: title => {
|
|
|
|
return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-10-19 02:54:01 +00:00
|
|
|
};
|
2019-10-08 01:14:38 +00:00
|
|
|
</script>
|
2022-10-19 02:54:01 +00:00
|
|
|
<style scoped>
|
|
|
|
#app .theme-picker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
</style>
|