mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
43 lines
881 B
Vue
43 lines
881 B
Vue
<template>
|
|
<v-app>
|
|
<Appbar/>
|
|
<v-main>
|
|
<Snackbar/>
|
|
<Confirm/>
|
|
<v-fade-transition hide-on-leave>
|
|
<nuxt />
|
|
</v-fade-transition>
|
|
</v-main>
|
|
<Footer/>
|
|
|
|
</v-app>
|
|
|
|
|
|
</template>
|
|
<script>
|
|
import Appbar from '../components/Appbar.vue'
|
|
import Snackbar from '../components/Snackbar'
|
|
import Footer from '../components/Footer'
|
|
import Confirm from '../components/Confirm'
|
|
import { mapState, mapGetters } from 'vuex'
|
|
|
|
export default {
|
|
head () {
|
|
return {
|
|
htmlAttrs: {
|
|
lang: this.locale
|
|
},
|
|
link: [{ rel: 'icon', type: 'image/png', href: this.settings.baseurl + '/logo.png' }],
|
|
}
|
|
},
|
|
name: 'Default',
|
|
components: { Appbar, Snackbar, Footer, Confirm },
|
|
computed: {
|
|
...mapState(['settings']),
|
|
...mapGetters(['is_dark'])
|
|
},
|
|
created () {
|
|
this.$vuetify.theme.dark = this.is_dark
|
|
}
|
|
}
|
|
</script>
|