Skip to content

Commit

Permalink
refactor: feature module を削除して直接 component をルーティングに指定
Browse files Browse the repository at this point in the history
  • Loading branch information
kasaharu committed Feb 12, 2024
1 parent d8b8958 commit e6c974a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 23 deletions.
4 changes: 3 additions & 1 deletion src/app/app.routes.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { Routes } from '@angular/router';
import { TopPageComponent } from './features/top/pages/top/top.component';

export const routes: Routes = [
{ path: '', loadChildren: () => import('./features/top/top.module').then((m) => m.TopModule) },
// { path: '', loadChildren: () => import('./features/top/top.module').then((m) => m.TopModule) },
{ path: '', component: TopPageComponent },
{ path: 'blogs', loadChildren: () => import('./features/blog/blog.module').then((m) => m.BlogModule) },
{ path: 'activities', loadChildren: () => import('./features/activity/activity.module').then((m) => m.ActivityModule) },
{ path: 'labs', loadChildren: () => import('./features/lab/lab.module').then((m) => m.LabModule) },
Expand Down
11 changes: 0 additions & 11 deletions src/app/features/top/top-routing.module.ts

This file was deleted.

11 changes: 0 additions & 11 deletions src/app/features/top/top.module.ts

This file was deleted.

0 comments on commit e6c974a

Please sign in to comment.