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:
@@ -0,0 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'lib-home',
|
||||
template: `Forbidden component`,
|
||||
})
|
||||
export class ForbiddenComponent {}
|
||||
@@ -0,0 +1,13 @@
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { ForbiddenComponent } from './forbidden.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [ForbiddenComponent],
|
||||
imports: [
|
||||
CommonModule,
|
||||
RouterModule.forChild([{ path: '', component: ForbiddenComponent }]),
|
||||
],
|
||||
})
|
||||
export class ForbiddenModule {}
|
||||
Reference in New Issue
Block a user