mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-18 10:17:16 +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>
|