mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-11 13:05:08 +00:00
24 lines
485 B
TypeScript
24 lines
485 B
TypeScript
|
import {NgModule} from '@angular/core';
|
||
|
import {SharedModule} from '../../../core/shared.module';
|
||
|
import {RouterModule, Routes} from '@angular/router';
|
||
|
import {ChatComponent} from './chat.component';
|
||
|
|
||
|
const routes: Routes = [
|
||
|
{
|
||
|
path: 'apps/chat', component: ChatComponent, children: []
|
||
|
}
|
||
|
]
|
||
|
|
||
|
@NgModule({
|
||
|
imports : [
|
||
|
SharedModule,
|
||
|
RouterModule.forChild(routes)
|
||
|
],
|
||
|
declarations: [
|
||
|
ChatComponent
|
||
|
]
|
||
|
})
|
||
|
export class ChatModule
|
||
|
{
|
||
|
}
|