July 29, 2018

Configure router in Angular project

ng g component dashboard ng g module app-routing Open: srcappapp-routingapp-routing.module.ts Replace contents with: import { NgModule } from ‘@angular/core’; import { RouterModule, Routes } from ‘@angular/router’;

Read More »