Start implementing direct messaging and continued developing the chatnav
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
import { Routes } from '@angular/router';
|
||||
import {Routes} from '@angular/router';
|
||||
import {SignIn} from './signin/signin';
|
||||
import {Chat} from './chat/chat';
|
||||
import {Dm} from './chat/dm/dm';
|
||||
|
||||
export const routes: Routes = [
|
||||
{ path: 'signin', component: SignIn },
|
||||
{ path: 'chat', component: Chat },
|
||||
{path: 'signin', component: SignIn},
|
||||
{
|
||||
path: 'chat', component: Chat, children: [
|
||||
{path: 'dm/:chatid', component: Dm},
|
||||
]
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user