<template>
  <div id="app">
    <router-view />
    <theme-picker />
  </div>
</template>

<script>
// console.log(this.$store.getters.inspectNum, this.$store.state.user.inspectNum)
// this.$store.commit("SET_INSPECTNUM", 2);
import ThemePicker from "@/components/ThemePicker";
export default {
  name: "App",
  components: { ThemePicker },
  created() {},
  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;
      },
    };
  },
  methods: {},
};
</script>
<style scoped>
#app .theme-picker {
  display: none;
}
</style>
