angular/devtools/src/app/devtools-app/devtools-app.module.ts

32 lines
739 B
TypeScript
Raw Normal View History

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* 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
*/
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {RouterModule} from '@angular/router';
import {DevToolsModule as NgDevToolsModule} from 'ng-devtools';
2020-01-27 18:40:18 +00:00
import {DevToolsComponent} from './devtools-app.component';
2020-01-27 18:40:18 +00:00
@NgModule({
declarations: [DevToolsComponent],
imports: [
NgDevToolsModule,
CommonModule,
RouterModule.forChild([
{
path: '',
component: DevToolsComponent,
pathMatch: 'full',
2020-01-27 18:40:18 +00:00
},
]),
],
})
export class DevToolsModule {
}