mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
14 lines
387 B
TypeScript
14 lines
387 B
TypeScript
import { CommonModule } from '@angular/common';
|
|
import { NgModule } from '@angular/core';
|
|
import { RouterModule } from '@angular/router';
|
|
import { HomeComponent } from './home.component';
|
|
|
|
@NgModule({
|
|
declarations: [HomeComponent],
|
|
imports: [
|
|
RouterModule.forChild([{ path: '', component: HomeComponent }]),
|
|
CommonModule,
|
|
],
|
|
})
|
|
export class ModuleToStandaloneHomeModule {}
|