2021-04-30 14:15:31 +08:00
|
|
|
<template>
|
|
|
|
<div id="app">
|
|
|
|
<router-view />
|
2022-11-13 10:44:38 +08:00
|
|
|
<theme-picker />
|
2021-04-30 14:15:31 +08:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2022-11-13 10:44:38 +08:00
|
|
|
import ThemePicker from "@/components/ThemePicker";
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: "App",
|
|
|
|
components: { ThemePicker },
|
2022-02-15 22:08:40 +08: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-11-13 10:44:38 +08:00
|
|
|
};
|
2021-04-30 14:15:31 +08:00
|
|
|
</script>
|
2022-11-13 10:44:38 +08:00
|
|
|
<style scoped>
|
|
|
|
#app .theme-picker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
</style>
|