Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { NgModule } from '@angular/core';
- import { CommonModule } from '@angular/common';
- import { RouterModule, Routes } from '@angular/router';
- import { ForgotPasswordComponent } from './forgot-password/forgot-password.component';
- const routes: Routes = [
- { path: 'forgot-password', component: ForgotPasswordComponent }
- ];
- @NgModule({
- declarations: [],
- imports: [
- CommonModule,
- RouterModule.forRoot(routes)
- ],
- exports: [
- RouterModule
- ],
- })
- export class AppRoutingModule { }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement