This commit updates the docs examples to be compatible with the `import-spacing` tslint rule. This is in preparation of updating the docs examples `tslint.json` to match the one generated for new Angular CLI apps in a future commit. PR Close #38143
21 lines
559 B
TypeScript
21 lines
559 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
|
|
import { SharedModule } from '../shared/shared.module';
|
|
|
|
import { DashboardComponent } from './dashboard.component';
|
|
import { DashboardHeroComponent } from './dashboard-hero.component';
|
|
|
|
const routes: Routes = [
|
|
{ path: 'dashboard', component: DashboardComponent },
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [
|
|
SharedModule,
|
|
RouterModule.forChild(routes)
|
|
],
|
|
declarations: [ DashboardComponent, DashboardHeroComponent ]
|
|
})
|
|
export class DashboardModule { }
|