dev
Last change
on this file since 31a8672 was 31a8672, checked in by Стојков Марко <mst@…>, 3 years ago |
Frontend component for asking question
|
-
Property mode
set to
100644
|
File size:
439 bytes
|
Rev | Line | |
---|
[e6a6d9a] | 1 | import { NgModule } from '@angular/core';
|
---|
| 2 | import { Routes, RouterModule } from '@angular/router';
|
---|
| 3 |
|
---|
| 4 | const routes: Routes = [
|
---|
| 5 | {
|
---|
| 6 | path: '**',
|
---|
| 7 | redirectTo: 'public/home'
|
---|
[31a8672] | 8 | },
|
---|
| 9 | {
|
---|
| 10 | path: 'questions',
|
---|
| 11 | loadChildren: () => import('./modules/questioning/questioning.module').then((x) => x.QuestioningModule)
|
---|
[e6a6d9a] | 12 | }
|
---|
| 13 | ];
|
---|
| 14 |
|
---|
| 15 | @NgModule({
|
---|
| 16 | imports: [RouterModule.forRoot(routes)],
|
---|
| 17 | exports: [RouterModule]
|
---|
| 18 | })
|
---|
| 19 | export class AppRoutingModule {}
|
---|
Note:
See
TracBrowser
for help on using the repository browser.