aswi2021codebakers-gitlab/src/app/app-routing.module.ts @ f8b9a3a2
1 |
import {NgModule} from '@angular/core'; |
---|---|
2 |
import {RouterModule, Routes} from '@angular/router'; |
3 |
import {IndexComponent} from './index/components/index.component'; |
4 |
|
5 |
const routes: Routes = [ |
6 |
{
|
7 |
path: '', |
8 |
component: IndexComponent, |
9 |
pathMatch: 'full', |
10 |
}
|
11 |
];
|
12 |
|
13 |
@NgModule({ |
14 |
imports: [RouterModule.forRoot(routes)], |
15 |
exports: [RouterModule] |
16 |
})
|
17 |
export class AppRoutingModule { |
18 |
}
|