-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathapp.routes.ts
23 lines (22 loc) · 1.33 KB
/
app.routes.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { Routes } from '@angular/router';
import { DirectiveWayComponent } from './directive-way/directive-way.component';
import { FileGeneratorComponent } from './file-generator/file-generator.component';
import { MultiServiceComponent } from './multi-service/multi-service.component';
import { MultipleDirectiveComponent } from './multiple-directive/multiple-directive.component';
import { OnPushComponent } from './on-push/on-push.component';
import { ServiceCodeWayComponent } from './service-code-way/service-code-way.component';
import { ServiceWayComponent } from './service-way/service-way.component';
import { StandaloneComponent } from './standalone/standalone.component';
import { TusComponent } from './tus/tus.component';
export const appRoutes: Routes = [
{ path: '', redirectTo: 'directive-way', pathMatch: 'full' },
{ path: 'directive-way', component: DirectiveWayComponent },
{ path: 'service-way', component: ServiceWayComponent },
{ path: 'service-code-way', component: ServiceCodeWayComponent },
{ path: 'standalone', component: StandaloneComponent },
{ path: 'on-push', component: OnPushComponent },
{ path: 'multi', component: MultipleDirectiveComponent },
{ path: 'multi2', component: MultiServiceComponent },
{ path: 'tus', component: TusComponent },
{ path: 'file-generator', component: FileGeneratorComponent }
];