This tutorial will show you how to build a beautiful login and registration UI with Angular Material. We’ll look at the various Material design components and how they can be used to bring about professional-looking applications. The complete code for this tutorial can be found in our GitHub repo.
We will start by creating an Angular application. Hopefully, you already have Node.js and Angular CLI installed in your working environment.
Use the following command to create a new Angular app.
This command creates all the files needed to bootstrap an Angular application. The next step will be to add Angular Material in your application.
Creating Components Using Angular CLI
Components in Angular are the building blocks of the application. Although you can manually create components, Angular CLI makes it very easy to automatically generate components that contain all the necessary starter code. To generate a component in Angular CLI, you simply run the following command:
Read full tutorial at code.tutsplus