14 lines
180 B
Vue
14 lines
180 B
Vue
|
<template>
|
||
|
<transition name="page" mode="out-in">
|
||
|
<slot>
|
||
|
<router-view />
|
||
|
</slot>
|
||
|
</transition>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
name: 'Child'
|
||
|
}
|
||
|
</script>
|