Skip to content

Commit cb2ee79

Browse files
committed
feat(live-editing): sample config edit for standalone
1 parent abe0858 commit cb2ee79

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

live-editing/configs/GridCRMConfigGenerator.ts

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,18 @@ export class GridCRMConfigGenerator implements IConfigGenerator {
1515
'/projects/app-crm/src/app/grid-crm/data.ts'
1616
],
1717
additionalDependencies: [],
18-
appModuleConfig: new AppModuleConfig({
18+
appConfig: {
19+
modules: [
20+
{ 'module': 'BrowserModule', 'import': '@angular/platform-browser' },
21+
{ 'module': 'FormsModule', 'import': '@angular/forms' },
22+
{ 'module': 'HammerModule', 'import': '@angular/platform-browser' }
23+
],
24+
providers: [
25+
{ 'provider': 'provideAnimations()', 'import': '@angular/platform-browser/animations' }
26+
],
27+
router: 'GridCRMRoutes'
28+
}
29+
/*appModuleConfig: new AppModuleConfig({
1930
imports: [
2031
'IgxRippleModule',
2132
'IgxGridModule', 'IgxIconModule', 'IgxLayoutModule',
@@ -26,7 +37,8 @@ export class GridCRMConfigGenerator implements IConfigGenerator {
2637
ngImports: ['IgxPreventDocumentScrollDirective', 'IgxRippleModule',
2738
'IgxGridModule', 'IgxIconModule', 'IgxLayoutModule',
2839
'IgxAvatarModule', 'IgxInputGroupModule', 'IgxButtonModule', 'RouterTestingModule']
29-
})
40+
})*/
41+
3042
}));
3143

3244
return configs;

0 commit comments

Comments
 (0)