Providers/config for standalone component with native federation
jtneal opened this issue · comments
Jason Neal commented
Something is confusing me about using standalone components with native federation.
How do you setup the DI? Providers are boostrapped with the app component:
bootstrapApplication(AppComponent, appConfig).catch(console.error);
But if you import the routes object or the component itself, this appConfig doesn't get attached in the DI container. So it complains about missing injector tokens. What's the proper process here?
Jason Neal commented
I believe my issue was due to not sharing the @auth0/auth0-angular
package. Once I shared it, the issue went away.