adrema/resources/js/layouts/App.vue

36 lines
985 B
Vue
Raw Normal View History

2020-04-10 20:32:12 +02:00
<template>
2020-04-12 00:26:44 +02:00
<div class="app font-sans flex flex-col flex-grow">
2020-04-10 20:32:12 +02:00
<notification :errors="$page.errors"></notification>
<process></process>
<wrapper
admin-toolbar="adminToolbar"
profile-toolbar="profileToolbar"
2020-04-10 23:39:05 +02:00
search-background="bg-primary-600"
2020-04-10 20:32:12 +02:00
>
<template slot="mainnav">
<mainnav name="main" sm></mainnav>
</template>
<template slot="main">
<slot />
</template>
</wrapper>
</div>
</template>
<script>
import Notification from 'agnoster/components/Notification.vue';
2020-04-12 00:26:44 +02:00
import Process from 'agnoster/components/Progress.vue';
2020-04-10 20:32:12 +02:00
import Wrapper from 'agnoster/components/Wrapper.vue';
import Mainnav from 'agnoster/components/Mainnav.vue';
export default {
computed: {
title() {
return this.$store.getters.title;
}
},
components: { Notification, Wrapper, Mainnav, Process }
};
</script>