Skip to content

Commit

Permalink
refactor: page component を feature ディレクトリの直下に移動
Browse files Browse the repository at this point in the history
  • Loading branch information
kasaharu committed Sep 17, 2024
1 parent 8af922b commit ee976bd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { TopPageComponent } from './features/top/top.component';
export const routes: Routes = [
// { path: '', loadChildren: () => import('./features/top/top.module').then((m) => m.TopModule) },
{ path: '', component: TopPageComponent },
{ path: 'blogs', loadComponent: () => import('./features/blog/pages/blog/blog.page.component').then((m) => m.BlogPageComponent) },
{ path: 'blogs', loadComponent: () => import('./features/blog/blog.page.component').then((m) => m.BlogPageComponent) },
{ path: 'activities', loadChildren: () => import('./features/activity/activity.module').then((m) => m.ActivityModule) },
{ path: 'labs', loadChildren: () => import('./features/lab/lab.module').then((m) => m.LabModule) },
];
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { ArticlesComponent } from '../../containers/articles/articles.component';
import { ArticlesComponent } from './containers/articles/articles.component';

@Component({
template: '<app-articles></app-articles>',
Expand Down

0 comments on commit ee976bd

Please sign in to comment.