W
W
WebDev2018-03-19 23:38:17
Vue.js
WebDev, 2018-03-19 23:38:17

Smooth animation in vue.js #2?

Help, please once again deal with one more subtlety of animation.
I need to achieve a scrolling effect like here .
But to do it with vue-router connection.
By analogy, I run into the fact that it is impossible to wrap the router-view in a transition-group, an error pops out that each block must have a :key property.
Here is a non-working example , please help me to achieve the effect with a router like here .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2018-03-19
@kirill-93

By analogy, I run into the fact that it is impossible to wrap the router-view in a transition-group, an error pops up that each block must have a : key property.

Uh-uh, well, what's stopping you from setting this key? It doesn't matter which one, just point it out.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question