0% done with Authentication and Authorization in VueJS
5:17
|
Published on
9/24/2019
|
|
Chapter 8 of 27 in Building VueScreencasts.com
UserAuthForm Component
Soon we'll be wanting to make the Registration page, but to keep from repeating ourselves we're going to abstract the UserAuthForm Component from the Login page.
We'll pass in a submitForm
function and a buttonText
string, but the rest of the Component can be shared between the two pages. When the user clicks the submit button, we'll call the submitForm
function that was passed in.
What do others think of VueScreencasts?
"Very well explained."
—Leon van Rijswijk
"Really enjoying these, thank you!"
—Lars Sørensen
"Thank you!"
—Артем Єрко
"Thanks, really liking these videos."
—Mustahsinul Moula