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!

Defining Global Components and Rules

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

The Composition API Masterclass is coming soon!

In this lesson, we make the required validation rule globally available to all forms for ease of use. We also make the VeeValidation components globally available.

Lastly, we replace our manual definition of the required rule with a "plugin and play rule provided by VeeValidate.