2016-12-14 01:44:52 +00:00
|
|
|
/**
|
|
|
|
|
* @license
|
2020-05-19 19:08:49 +00:00
|
|
|
* Copyright Google LLC All Rights Reserved.
|
2016-12-14 01:44:52 +00:00
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
|
|
|
* found in the LICENSE file at https://angular.io/license
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import {Component, NgModule} from '@angular/core';
|
2016-12-14 01:35:06 +00:00
|
|
|
import {RouterModule} from '@angular/router';
|
|
|
|
|
|
2016-12-14 01:44:52 +00:00
|
|
|
@Component({selector: 'feature-component', template: 'foo.html'})
|
|
|
|
|
export class FeatureComponent {
|
|
|
|
|
}
|
2016-12-14 01:35:06 +00:00
|
|
|
|
|
|
|
|
@NgModule({
|
2016-12-14 01:44:52 +00:00
|
|
|
declarations: [FeatureComponent],
|
|
|
|
|
imports: [RouterModule.forChild([
|
2017-10-24 11:54:08 +00:00
|
|
|
{path: '', component: FeatureComponent},
|
2021-09-25 20:33:57 +00:00
|
|
|
{path: 'd', loadChildren: () => import('./default.module').then(mod => mod.default)},
|
|
|
|
|
{
|
|
|
|
|
path: 'e',
|
|
|
|
|
loadChildren: () => import('../feature/feature.module').then(mod => mod.FeatureModule)
|
|
|
|
|
},
|
2016-12-14 01:44:52 +00:00
|
|
|
])]
|
2016-12-14 01:35:06 +00:00
|
|
|
})
|
2016-12-14 01:44:52 +00:00
|
|
|
export class Feature2Module {
|
|
|
|
|
}
|