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

The Vue.js 3 Masterclass

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

Building a Mobile Navbar

In this lesson, we use Vue.js 3 class bindings to make our mobile navigation menu open and close. We also get to utilize the the v-click-outside we used in the last lesson! That's the beauty of directives: they can be easily reused with re-implenting the functionality.