Skip to content

Commit

Permalink
create views folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jongbonga authored and PiDelport committed Jun 28, 2021
1 parent 2f3d457 commit 5000465
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions web-client/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
const routes: Routes = [
{
path: 'home',
loadChildren: () => import('./home/home.module').then( m => m.HomePageModule)
loadChildren: () =>
import('./views/home/home.module').then(m => m.HomePageModule)
},
{
path: '',
redirectTo: 'home',
pathMatch: 'full'
},
}
];

@NgModule({
Expand All @@ -19,4 +20,4 @@ const routes: Routes = [
],
exports: [RouterModule]
})
export class AppRoutingModule { }
export class AppRoutingModule {}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { HomePage } from './home.page';
const routes: Routes = [
{
path: '',
component: HomePage,
component: HomePage
}
];

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5000465

Please sign in to comment.