Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. import { NgModule } from '@angular/core';
  2. import { RouterModule } from '@angular/router';
  3. import { AppComponent } from './app.component';
  4.  
  5. @NgModule({
  6. imports: [
  7. RouterModule.forRoot( [
  8. {
  9. path: '',
  10. component: AppComponent
  11. },
  12. {
  13. path: 'draw',
  14. component: PxGridComponent
  15. },
  16. {
  17. path: '**',
  18. component: PageNotFoundComponent
  19. }
  20. ], { initialNavigation: 'enabled' })
  21. ],
  22. })
  23. export class PixelAngstAppRoutingModule {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement