Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. import { NgModule } from '@angular/core';
  2. import { CommonModule } from '@angular/common';
  3. import { RouterModule, Routes } from '@angular/router';
  4. import { ForgotPasswordComponent } from './forgot-password/forgot-password.component';
  5.  
  6. const routes: Routes = [
  7. { path: 'forgot-password', component: ForgotPasswordComponent }
  8. ];
  9.  
  10. @NgModule({
  11. declarations: [],
  12. imports: [
  13. CommonModule,
  14. RouterModule.forRoot(routes)
  15. ],
  16. exports: [
  17. RouterModule
  18. ],
  19. })
  20. export class AppRoutingModule { }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement