Zadanie z kodem · Kurs Angular · Moduł 3: Moduły

Praktyka: Tworzenie NgModule

@NgModule to dekorator definiujący moduł. declarations zawiera komponenty, imports - inne moduły, exports - elementy udostępniane na zewnątrz.

Zadanie

Uzupełnij dekorator @NgModule dla modułu SamuraiModule z komponentami SamuraiListComponent i SamuraiCardComponent.