dashboard/layouts/unauthenticated.vue

28 lines
388 B
Vue

<script>
import { THEME } from '@/store/prefs';
export default {
head() {
const theme = this.$store.getters['prefs/get'](THEME);
return {
bodyAttrs: { class: `theme-${ theme } dashboard-body` },
title: 'Dashboard',
};
},
};
</script>
<template>
<main>
<nuxt />
</main>
</template>
<style lang="scss" scoped>
main {
height: 100vh;
}
</style>