typescript - Angular 2 - make imported modules accessible in child modules -


is possible make modules, imported in root module accessible in child modules?

for example, have root module imported formsmodule & reactiveformsmodule & custom routingmodule:

// ... @ngmodule({     // ...     imports: [         browsermodule,         formsmodule,         reactiveformsmodule,         routingmodule,     ],     // ... }) 

but problem in child routingmodule components reactiveformsmodule declarations not accessible, need import there (in routingmodule imports).

is way make imported modules accessible each other top bottom of import statement?

just imported export them module available child modules

exports: [         browsermodule,         formsmodule,         reactiveformsmodule,         routingmodule,     ], 

Comments

Popular posts from this blog

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

php - Permission denied. Laravel linux server -