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