Open web-dave opened 4 years ago
const routes: Routes = [
{
path: '',
component: FleetComponent,
children: [{
path: '',
component: ListComponent
}]
}
];
const routes: Routes = [
{
path: 'fleet',
loadChildren: () => import('./fleet/fleet.module').then(m => m.FleetModule)
},
...
];
path: 'fleet'
topath: ''
app-routing.module
setfleet
toloadChildren
FleetModule
fromAppModule
(completely)