Module and Component

Let's add the login module and component and set their functionality.

Currently, we have a navbar that updates based on our logged in or logged out state, and a “Signup” link that sends us to our signup form. Now, it’s time to add our login feature for returning users.

Module setup

Similar to our signup feature, start by creating the module and component for login.

ng g module login --routing
ng g component login

Get hands-on with 1200+ tech skills courses.