You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the seed, apparently, automates the separation of components that are lazy loaded ... just amazing
but how do I force a particular angular component to be chunked separately ?
I add that component dynamicaly, by injecting it in a template
let componentFactory = this.componentFactoryResolver.resolveComponentFactory(adItem.component);
let viewContainerRef = this.adHost.viewContainerRef;
let componentRef = viewContainerRef.createComponent(componentFactory);
[I came here since nobody replies in stack overflow]
thanks
The text was updated successfully, but these errors were encountered:
"No SO nor the issue you opened in the angular repo for the DCL guide :P"
I have no idea what this phrase means :-) SO ?DCL ? the issue I opened ???
if you do lazy loading, webpack creates a separate chunk...js , right ? and it is fetched when you navigate
so as I inject a component in a template dynamicaly, I want it to be in a separate chuk too and fetched when I insert the component too.... angular is so static ...
dynamic content can be loaded so easily with regular php/js application
Hi,
the seed, apparently, automates the separation of components that are lazy loaded ... just amazing
but how do I force a particular angular component to be chunked separately ?
I add that component dynamicaly, by injecting it in a template
[I came here since nobody replies in stack overflow]
thanks
The text was updated successfully, but these errors were encountered: