The video for this lesson is currently being updated, please read the transcript instead.

Setting up the login form

We now have a User model for handling our form state, plus we've linked our login form inputs to the to this model.

Next, we need to handle the login form submission process where we'll use Vue Auth for the login API request.

You'll see I've stubbed a method on this component called submit which we can now complete. The part I've already defined is a validation check to ensure that the user has supplied valid data to the form.

To view the complete lesson you'll need to login or join this course.


Click to load comments...