drawer-demo-module.ts (material2-7.3.5) | : | drawer-demo-module.ts (material2-7.3.6) | ||
---|---|---|---|---|
/** | /** | |||
* @license | * @license | |||
* Copyright Google LLC All Rights Reserved. | * Copyright Google LLC All Rights Reserved. | |||
* | * | |||
* Use of this source code is governed by an MIT-style license that can be | * Use of this source code is governed by an MIT-style license that can be | |||
* found in the LICENSE file at https://angular.io/license | * found in the LICENSE file at https://angular.io/license | |||
*/ | */ | |||
import {NgModule} from '@angular/core'; | import {NgModule} from '@angular/core'; | |||
import {MatButtonModule, MatListModule, MatSidenavModule} from '@angular/materia l'; | import {MatButtonModule, MatListModule, MatSidenavModule} from '@angular/materia l'; | |||
import {RouterModule} from '@angular/router'; | ||||
import {DrawerDemo} from './drawer-demo'; | import {DrawerDemo} from './drawer-demo'; | |||
@NgModule({ | @NgModule({ | |||
imports: [ | imports: [ | |||
MatButtonModule, | MatButtonModule, | |||
MatListModule, | MatListModule, | |||
MatSidenavModule, | MatSidenavModule, | |||
RouterModule.forChild([{path: '', component: DrawerDemo}]), | ||||
], | ], | |||
declarations: [DrawerDemo], | declarations: [DrawerDemo], | |||
}) | }) | |||
export class DrawerDemoModule { | export class DrawerDemoModule { | |||
} | } | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added |