July 2018
Intermediate to advanced
420 pages
8h 46m
English
Now, we can create the Auth routes, including Login and Register; again, we will use the power of the Angular CLI to create a new module and components:
ng generate module pages/auth --routing
ng g c pages/auth/login
import { LoginComponent } from './login/login.component';
@NgModule({
imports: [
CommonModule,
AuthRoutingModule
],
declarations: [LoginComponent]
})
Pay attention; this time, we added LoginComponent ...
Read now
Unlock full access