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!

Building a Mobile Navbar

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

The Composition API Masterclass is coming soon!

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.