mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-01 01:47:11 +00:00
19 lines
277 B
Vue
19 lines
277 B
Vue
|
<template>
|
||
|
<div>
|
||
|
<h1>Transition name child page</h1>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
transition: {
|
||
|
name: 'custom-child'
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
<style>
|
||
|
.custom-child-enter-active, .custom-child-leave-active {
|
||
|
transition: opacity 1s ease;
|
||
|
}
|
||
|
</style>
|