mirror of
https://github.com/Raghu-Ch/KaplanTest.git
synced 2026-02-10 04:33:03 -05:00
Initial Commit
This commit is contained in:
15
src/app/app-routing.module.ts
Normal file
15
src/app/app-routing.module.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { ChannellistComponent } from './channellist/channellist.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{ path: '', redirectTo: 'channel', pathMatch: 'full' },
|
||||
{ path: 'channel', component: ChannellistComponent },
|
||||
{ path: '**', redirectTo: 'channel' }
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forRoot(routes)],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class AppRoutingModule { }
|
||||
Reference in New Issue
Block a user