mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
fixed core and shared module usage, lazy loading modules
This commit is contained in:
17
src/app/+item-page/item-page-routing.module.ts
Normal file
17
src/app/+item-page/item-page-routing.module.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
|
||||
import { ItemPageComponent } from './simple/item-page.component';
|
||||
import { FullItemPageComponent } from './full/full-item-page.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
RouterModule.forChild([
|
||||
{ path: ':id', component: ItemPageComponent, pathMatch: 'full' },
|
||||
{ path: ':id/full', component: FullItemPageComponent }
|
||||
])
|
||||
]
|
||||
})
|
||||
export class ItemPageRoutingModule {
|
||||
|
||||
}
|
Reference in New Issue
Block a user