The bootstrap function will change from accepting array to an object in future release (according…
Jecelyn Yeen
1
Angular2 Build
Thu Jul 28 19:16:44 UTC 2016
a32c4ad2f053aef6a45001aa23e1cfb0aa4d76d1
// I follow your instruction and it works
enableProdMode();
bootstrap(AppComponent, {
providers: [HTTP_PROVIDERS,disableDeprecatedForms(),provideForms(),appRouterProviders, provide(LocationStrategy, {useClass: HashLocationStrategy })]
});
now it throws warning about
NgModule DynamicModule uses xxxxxComponent via “entryComponents” but it was neither declared nor imported!
and now I’m reading this
Understanding NgModule (http://g.co/ng/modules)
@This warning will become an error after final.