-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
transform the entire app into a standalone architecture by removing modules and add lazy loading
- Loading branch information
1 parent
fb235ee
commit 863dabc
Showing
35 changed files
with
330 additions
and
290 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
7 changes: 6 additions & 1 deletion
7
src/app/business/components/business-card/business-card.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 5 additions & 1 deletion
6
src/app/business/components/business-detail-text/business-detail-text.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { Route } from '@angular/router'; | ||
|
||
export const BUSINESS_ROUTES: Route[] = [ | ||
{ | ||
path: 'list', | ||
loadComponent: () => | ||
import('./container/business-list/business-list.page').then( | ||
(m) => m.BusinessListComponent | ||
) | ||
}, | ||
{ | ||
path: 'detail/:id', | ||
loadComponent: () => | ||
import('./container/business-detail/business-detail.page').then( | ||
(m) => m.BusinessDetailPage | ||
) | ||
}, | ||
{ | ||
path: '', | ||
redirectTo: 'list', | ||
pathMatch: 'full' | ||
} | ||
]; |
5 changes: 4 additions & 1 deletion
5
src/app/council-member/components/council-member-card/council-member-card.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { Route } from '@angular/router'; | ||
|
||
export const COUNCIL_MEMBER_ROUTES: Route[] = [ | ||
{ | ||
path: 'list', | ||
loadComponent: () => | ||
import('./containers/member-list/member-list.component').then( | ||
(m) => m.MemberListComponent | ||
) | ||
}, | ||
{ | ||
path: 'detail/:id', | ||
loadComponent: () => | ||
import('./containers/member-detail/member-detail.component').then( | ||
(m) => m.MemberDetailComponent | ||
) | ||
}, | ||
{ | ||
path: '', | ||
redirectTo: 'list', | ||
pathMatch: 'full' | ||
} | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.