How to share Angular Components? (Simple steps)

preview_player
Показать описание
As Angular is a component-based framework, knowing how to share components between modules is important to know!

In this video we are going to create a shared module and share a simple button component between two modules.

The tutorial is easy to follow, and you will get the point in no-time!

Angular version: Angular 14

#angular #frontend #webdevelopment
Рекомендации по теме
Комментарии
Автор

Thank you, excelent information. Just what i was looking for 👍

latinmu
Автор

You just cleared my doubt in an instant 😁

sazidmulla
Автор

how can we use appModules component in the custom module

ompawar
Автор

thanks, I just have one more problem, when I put a <ion-button> in html of component say it is not a known element, I think this solve the import to almost module in the declarations, but in the shared module declarations doesnt work:c

ailing