Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. import { NgModule } from '@angular/core';
  2. import { Routes, RouterModule } from '@angular/router';
  3. import { NewPostComponent } from './new-post.component';
  4.  
  5. const routes: Routes = [
  6. {
  7. path: '',
  8. component: NewPostComponent
  9. }
  10. ];
  11.  
  12. @NgModule({
  13. imports: [RouterModule.forChild(routes)],
  14. exports: [RouterModule]
  15. })
  16. export class NewPostRoutingModule { }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement