Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Directives SUDDENLY not recognized in @Component

For some reason, the directives property for the @component metadata is not recognized, red underlined..

image

Resulting my Components cannot be loaded, browser's console screaming :

'account-transactions' is not a known element:

Would really appreciate any help, can't seem to be able to figure out what is going on.

Thanks in advance.

like image 657
Kesem David Avatar asked Sep 01 '16 17:09

Kesem David


1 Answers

I assume you updated to RC.6

directives and pipes were deprecated in RC.5 and removed in RC.6

Use instead declarations in @NgModule()

like image 148
Günter Zöchbauer Avatar answered Oct 19 '22 00:10

Günter Zöchbauer