dashboard/layouts/plain.vue

27 lines
396 B
Vue

<script>
import { THEME } from '@/store/prefs';
export default {
middleware: ['authenticated'],
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>
</style>