AppModule:- has
ShellModuleas lazy load
- has
ShellModule:- import
SharableModule- use
SharableComponent
- use
- has
FooModuleas lazy load
- import
SharableModule:
- export
SharableComponent- provide
SharableService
FooModule:- routing
FooComponentORBarComponent
- routing
FooComponent,BarComponent- use
ShareableComponent
- use
Does not work SharableModule.exports with lazy load, So can not use SharableComponent in FooModule
is that right?
I added Components List of SharableModule to FooModule then work right.
but occured error, because declared on 2 modules(ShellModule, FooModule).
but ShellModule Components required SharableModule Features like FooModule
have anything right way?