SHARE
TWEET

Untitled

a guest Jun 25th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 {}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top