mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-12 00:53:55 +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>
|