Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { NgModule } from '@angular/core';
- import { RouterModule } from '@angular/router';
- import { AppComponent } from './app.component';
- @NgModule({
- imports: [
- RouterModule.forRoot( [
- {
- path: '',
- component: AppComponent
- },
- {
- path: 'draw',
- component: PxGridComponent
- },
- {
- path: '**',
- component: PageNotFoundComponent
- }
- ], { initialNavigation: 'enabled' })
- ],
- })
- export class PixelAngstAppRoutingModule {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement