Add profile and settings page placeholders; Expand routing
This commit is contained in:
@@ -2,6 +2,7 @@ import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { DashboardComponent } from './Views/dashboard/dashboard.component';
|
||||
import { LoginComponent } from './Views/login/login.component';
|
||||
import { ProfileComponent } from './Views/profile/profile.component';
|
||||
import { RegisterComponent } from './Views/register/register.component';
|
||||
|
||||
const routes: Routes = [
|
||||
@@ -17,6 +18,14 @@ const routes: Routes = [
|
||||
path: 'register',
|
||||
component: RegisterComponent,
|
||||
},
|
||||
{
|
||||
path: 'profile',
|
||||
component: ProfileComponent,
|
||||
},
|
||||
{
|
||||
path: 'settings',
|
||||
component: ProfileComponent,
|
||||
},
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
|
Reference in New Issue
Block a user