#54 transition between pages added

pull/1/head
Thomas Ballmann 3 years ago
parent f8af7762a6
commit 2c11c4e554

@ -166,7 +166,9 @@
min-height="70vh" min-height="70vh"
rounded="lg" rounded="lg"
> >
<router-view class="pa-5" /> <transition-page>
<router-view class="pa-5" />
</transition-page>
</v-sheet> </v-sheet>
</v-col> </v-col>
</v-main> </v-main>
@ -176,9 +178,10 @@
<script> <script>
import { mapState, mapGetters } from 'vuex' import { mapState, mapGetters } from 'vuex'
import Notifications from '@/components/Notifications' import Notifications from '@/components/Notifications'
import TransitionPage from '@/components/TransitionPage'
export default { export default {
components: { Notifications }, components: { TransitionPage, Notifications },
data: () => ({ data: () => ({
drawer: true, drawer: true,
pages: [ pages: [

@ -1,12 +1,16 @@
<template> <template>
<v-main> <v-main>
<router-view /> <transition-page>
<router-view />
</transition-page>
</v-main> </v-main>
</template> </template>
<script> <script>
import TransitionPage from '@/components/TransitionPage'
export default { export default {
name: 'Setup', name: 'Setup',
components: { TransitionPage },
} }
</script> </script>

Loading…
Cancel
Save