router-view + transition can be hard...

Specially when used with scrollBehavior. This library makes it easy to correctly restore the scroll after the entering view is visible!
Take a look at the demo to see the result by yourself:

➣ Check the code on Github
➣ Follow me on Twitter


Transition mode

Let's try out this demo! Because we are restoring the scroll position, we first need to scroll a bit! So scroll down a little bit.

⇣ Scroll Down ⇣

Now that you scrolled so far, let's go somewhere else