The Vue.js 2 Master Class
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

Validate that an Input is An Image URL that Exists

The avatar field in our user registration form is optional, but if it's provided, it should definitely be an existing URL and be an image. In this lesson, we're learning how to validate the URL against this rules.