This commit is contained in:
syuilo
2020-07-31 21:40:26 +09:00
parent e184ca56c3
commit 6d141c0cc1
4 changed files with 56 additions and 54 deletions

View File

@@ -36,11 +36,13 @@
<div class="contents" ref="contents" :class="{ wallpaper }">
<main ref="main">
<div class="content">
<transition :name="$store.state.device.animation ? 'page' : ''" mode="out-in" @enter="onTransition">
<keep-alive :include="['index']">
<router-view></router-view>
</keep-alive>
</transition>
<router-view v-slot="{ Component }">
<transition :name="$store.state.device.animation ? 'page' : ''" mode="out-in" @enter="onTransition">
<keep-alive :include="['index']">
<component :is="Component" />
</keep-alive>
</transition>
</router-view>
</div>
<div class="powerd-by" :class="{ visible: !$store.getters.isSignedIn }">
<b><router-link to="/">{{ host }}</router-link></b>