feat: add global page toggling animation
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<template>
|
||||
<global-layout>
|
||||
<transition name="page-toggle">
|
||||
<router-view />
|
||||
</transition>
|
||||
</global-layout>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
<div slot="extra" class="extraImg">
|
||||
<img :src="extraImage"/>
|
||||
</div>
|
||||
<router-view ref="page"/>
|
||||
<transition name="page-toggle">
|
||||
<router-view ref="page"/>
|
||||
</transition>
|
||||
</page-layout>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<template>
|
||||
<transition name="page-toggle">
|
||||
<router-view />
|
||||
</transition>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user