Open bencameron00 opened 7 years ago
Do you fix this????
Hi! I need to maintain this better, I'm accepting pull requests for this. I'm so busy launching a new product to the market, sorry.
This one, with similar concept, works: https://github.com/MurhafSousli/ngx-sharebuttons
It might help to see how the developer did it: using ShareButtonsModule.forRoot() in main module, and just ShareButtonsModule in lazy loaded modules.
When I am trying to do an AoT build using the Angular Universal starter pack I am seeing this error...
ERROR in Unexpected value 'CeiboShare in C:/XXX/node_modules/ng2-social-share/src/ng2-social-share.d.ts' declared by the module 'AppModule in C:/XXX/Client/app/app.module.ts'. Please add a @Pipe/@Directive/@Component annotation.
Are there any plans to make this compatible with AoT and Ng Universal?
The starter pack that I am using is... https://github.com/MarkPieszak/aspnetcore-angular2-universal
All other ng2-social-share setup instructions have been followed.
Note that the share component works when not doing an AoT build/run however AoT is needed when publishing a production instance.
Thank you