Alberplz / angular2-color-picker

Angular 2 Color Picker Directive, no dependences required.
MIT License
185 stars 82 forks source link

Upgrade to NG 2.0.2 (or 2.1.0-rc.0) causes: Unexpected value 'ColorPickerDirective' declared by the module 'AppModule' #44

Closed gatapia closed 7 years ago

gatapia commented 7 years ago

The last commit to angular2-color-picker (1.2.1) fixed NG 2 new module issues and webpack issues. However, the latest NG update (2.0.2) appears not to recognise the color picker.

I am using angular cli (webpack) for build.

PoppyPham commented 7 years ago

I got this before, dont need declare ColorPickerDirective in AppModule, just import to your component.

Alberplz commented 7 years ago

There was a mistake in the docs. Updated in the last version