Skip to content

Commit 286b64a

Browse files
fix: add RouterOutlet import to ChildRouteComponent
1 parent 9c71b96 commit 286b64a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

projects/playground/src/app/components/child-route.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Component } from '@angular/core';
2+
import { RouterOutlet } from '@angular/router';
23

34
@Component({
45
selector: 'app-child-route',
@@ -8,5 +9,6 @@ import { Component } from '@angular/core';
89
<router-outlet></router-outlet>
910
`,
1011
styles: [],
12+
imports: [RouterOutlet],
1113
})
1214
export class ChildRouteComponent {}

0 commit comments

Comments
 (0)