mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-13 14:23:02 -05:00
feat(challengestandalone): challenge standalone
This commit is contained in:
13
libs/module-to-standalone/home/src/lib/home.module.ts
Normal file
13
libs/module-to-standalone/home/src/lib/home.module.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
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 {}
|
||||
Reference in New Issue
Block a user