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
362 B
TypeScript
12 lines
362 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
import { UserListComponent } from './user-list/user-list.component';
|
|
|
|
const routes: Routes = [{ path: '', component: UserListComponent }];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
export class UsersRoutingModule {}
|