mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 06:35:10 +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>
|