M
M
myskypesla2019-01-25 00:05:36
Vue.js
myskypesla, 2019-01-25 00:05:36

How to make a transition for a dynamic component in Vue?

There is a component and dynamic components inside it:

<template lang="pug">
  .list
    component(:is='step')
</template>

Question: how to make a change with transition for component(:is='step')
This is how the change does not work:
<template lang="pug">
  .list
    transition(name='fade', mode='out-in')
      component(:is='step')
</template>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question