ФІ
Size: a a a
ФІ
ФІ
OP
M
YS
const routes: Routes = [В SharedModule у меня такие роуты:
{path: '', redirectTo: 'apps', pathMatch: 'full'},
{
path: '', component: AdminComponent,
children: [
{path: 'apps', component: AppsComponent},
{path: 'apps/create', component: AppsFormComponent},
{path: 'apps/:id', component: AppsFormComponent},
// {path: 'user-info'},
{path: 'users', component: UsersComponent},
]
}
];
const routes: Routes = [Как сделать что бы роуты SharedModule наследовались от AppsComponent ?
{path: 'user-info', component: UserInfoComponent},
];
RY
const routes: Routes = [В SharedModule у меня такие роуты:
{path: '', redirectTo: 'apps', pathMatch: 'full'},
{
path: '', component: AdminComponent,
children: [
{path: 'apps', component: AppsComponent},
{path: 'apps/create', component: AppsFormComponent},
{path: 'apps/:id', component: AppsFormComponent},
// {path: 'user-info'},
{path: 'users', component: UsersComponent},
]
}
];
const routes: Routes = [Как сделать что бы роуты SharedModule наследовались от AppsComponent ?
{path: 'user-info', component: UserInfoComponent},
];
{path: ''; pathMatch: 'full'; loadChildren : import(SharedModule)}
YS
{path: ''; pathMatch: 'full'; loadChildren : import(SharedModule)}
RY
YS
YS
ФІ
OP
MG
ЕУ
MG
M
<input type="text" [formControl]="form">
{{form.value.length}}
ЕУ
<input type="text" [formControl]="form">
{{form.value.length}}