Setup

Setting up Angular

Install the Angular CLI

npm install -g @angular/cli

Create a workspace

1mkdir workspace
2cd workspace

Create the initial application

Inside the previous directory execute:

1ng new tutorial-I-login-bexstream
2cd tutorial-I-login-bexstream

Answer the following questions:

? Would you like to add Angular routing? (y/N)

y

Which stylesheet format would you like to use?

(Choose whichever you like, we will not delve into style.)

Enter the previously created project and install the following dependency:

npm i @angular/material@10.0.0

Run the application:

ng serve