1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-29 20:54:19 +00:00
This commit is contained in:
Maxime Moraine 2020-04-05 14:38:20 +02:00
parent 1050fbb531
commit 38931015db
71 changed files with 5819 additions and 184 deletions

View file

@ -1,16 +1,19 @@
<template>
<div>
<Breadcrumb />
<Page></Page>
</div>
</template>
<script>
import Page from '@theme/components/Page.vue'
import Breadcrumb from '@theme/components/Breadcrumb'
import Page from '@theme/components/Page'
export default {
name: 'Layout',
components: {
Breadcrumb,
Page
},
@ -25,7 +28,7 @@ export default {
if (this.$page.headers && this.$page.headers.length > 0 && this.$page.frontmatter.toc !== false) {
this.$store.commit('setHasRightDrawer', true)
this.$store.commit('setRightDrawer', true)
this.$store.commit('setRightDrawer', this.$vuetify.breakpoint.lgAndUp)
this.$store.commit('setInRightDrawer', 'pageToc')
}
}