<template>
  <div>
    <router-view />
  </div>
</template>

<script>
import { mapState } from "pinia";

export default {
  name: "Layout",
  data() {
    return {
      username: "",
      password: ""
    };
  },
  
  computed: {
    ...mapState(["layoutConfig"]),
    getFooterDesc() {
      return this.layoutConfig("footer_desc");
    },
    footerDisplay() {
      return !!this.layoutConfig("footer.display");
    }
  },
  
  beforeMount() {
    // this.$store.dispatch(ADD_BODY_CLASSNAME, "page-loading");
    // HtmlClass.init(this.layoutConfig());
  },
};
</script>