76ce18cfd8
- core modules contains core services - shared module contains "dumb" components (directives, models) - used by nearly all modules - site, it's children and projector are now feature modules - full lazy loading with independent routing - routing for children (extremely helpful for plugins (later))
12 lines
392 B
TypeScript
12 lines
392 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
import { AssignmentListComponent } from './assignment-list/assignment-list.component';
|
|
|
|
const routes: Routes = [{ path: '', component: AssignmentListComponent }];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
export class AssignmentsRoutingModule {}
|