We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36444ee commit f5501c2Copy full SHA for f5501c2
README.md
@@ -259,8 +259,7 @@ export class MyComponent {
259
Register a component to register the child routes.
260
261
```ts
262
-import { NgModule, Component } from '@angular/core';
263
-import { ModuleWithRoute } from '@angular-component/router';
+import { Component } from '@angular/core';
264
265
@Component({
266
template: `
@@ -278,6 +277,9 @@ export class LazyRouteComponent {}
278
277
Implement the `ModuleWithRoute` interface for the route component to render after the module is loaded.
279
280
+import { NgModule } from '@angular/core';
281
+import { ModuleWithRoute } from '@angular-component/router';
282
+
283
@NgModule({
284
declarations: [LazyRouteComponent, LazyComponent],
285
})
0 commit comments