Skip to content

Commit

Permalink
docs(layout): remove forRoot call from install instructions (#2037)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg authored Oct 23, 2019
1 parent 8474803 commit 74a0037
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/framework/theme/components/layout/layout.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,25 +42,15 @@ import { NbOverlayContainerAdapter } from '../cdk/adapter/overlay-container-adap
* ```
* ### Installation
*
* Import `NbLayoutModule.forRoot()` to your app module.
* ```ts
* @NgModule({
* imports: [
* // ...
* NbLayoutModule.forRoot(),
* ],
* })
* export class AppModule { }
* ```
* and `NbLayoutModule` to your feature module where the component should be shown:
* Import `NbLayoutModule` to your app module.
* ```ts
* @NgModule({
* imports: [
* // ...
* NbLayoutModule,
* ],
* })
* export class PageModule { }
* export class AppModule { }
* ```
* ### Usage
* By default the layout fills up the whole view-port.
Expand Down

0 comments on commit 74a0037

Please sign in to comment.