Vue.js 3 Options API Masterclass
Plans from $25/month

This lesson is for members. Join us?

Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!

Scroll to Top with Vue Router

🚧 PLEASE NOTE: This masterclass is built with the Options API
vuejs-masterclass

The Composition API Masterclass is coming soon!

In this lesson, we'll learn a nice technique where we tell Vue Router to scroll the page to the top on certain navigations.

We'll use the meta property of Vue router to achieve this technique.