Custom Vue Directives
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!

🚧 NOTICE: You are watching a Vue.js 2 lesson

Register Directives Locally

In this lesson, we learn how to define custom directives locally in our components.

Remember that you can import your directives and define them as you would with single file components if you're using a bundler.