Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Vue.js 3 Options API Masterclass

Scroll to Top with Vue Router thumbnail image

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Scroll to Top with Vue Router

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

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.