mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
parent
77ad0c8fc4
commit
b4847b7656
@ -72,7 +72,7 @@ function componentOption(component, key, ...args) {
|
|||||||
|
|
||||||
function mapTransitions(Components, to, from) {
|
function mapTransitions(Components, to, from) {
|
||||||
const componentTransitions = component => {
|
const componentTransitions = component => {
|
||||||
const transition = componentOption(component, 'transition', to, from)
|
const transition = componentOption(component, 'transition', to, from) || {}
|
||||||
return (typeof transition === 'string' ? { name: transition } : transition)
|
return (typeof transition === 'string' ? { name: transition } : transition)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user