ggmod / angular-2-data-table

An Angular 2 data table, with pagination, sorting, expandable rows, row selection etc.
69 stars 136 forks source link

Angular 4 Data Table compilation for Angular 4 #36

Open shayts opened 7 years ago

shayts commented 7 years ago

I imported this table to my angular project and it works fine in debug. When trying to compile it for prod (ng build --prod) getting the following Error: Can't bind to 'items' since it isn't a known property of 'data-table'.

I tried removing the items property and got this Error: Error: Template parse errors: 'data-table' is not a known element.

Anyone had this issue or has an idea what could be the problem?

BayardSmart commented 7 years ago

I also have the 'data-table' is not a known element issue when I try to build.. For the moment i build with the command ng build ( without the aot and without the --prod) and it's working but not the best solution.. I hope it'll be fixed.