platform-demo-module.ts (material2-7.3.5) | : | platform-demo-module.ts (material2-7.3.6) | ||
---|---|---|---|---|
skipping to change at line 12 | skipping to change at line 12 | |||
* @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 {PlatformModule} from '@angular/cdk/platform'; | import {PlatformModule} from '@angular/cdk/platform'; | |||
import {CommonModule} from '@angular/common'; | import {CommonModule} from '@angular/common'; | |||
import {NgModule} from '@angular/core'; | import {NgModule} from '@angular/core'; | |||
import {RouterModule} from '@angular/router'; | ||||
import {PlatformDemo} from './platform-demo'; | import {PlatformDemo} from './platform-demo'; | |||
@NgModule({ | @NgModule({ | |||
imports: [ | imports: [ | |||
CommonModule, | CommonModule, | |||
PlatformModule, | PlatformModule, | |||
RouterModule.forChild([{path: '', component: PlatformDemo}]), | ||||
], | ], | |||
declarations: [PlatformDemo], | declarations: [PlatformDemo], | |||
}) | }) | |||
export class PlatformDemoModule { | export class PlatformDemoModule { | |||
} | } | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added |