MurhafSousli / ngx-sharebuttons

Angular Share Buttons ☂
https://ngx-sharebuttons.netlify.app/
MIT License
527 stars 127 forks source link

Issue after upgrading to latest ngx-buttons version #675

Closed sameerdighe28 closed 3 months ago

sameerdighe28 commented 3 months ago

Steps to reproduce:

  1. Upgrade ngx-buttons lib from 8.0.5
  2. do ng serve and you will see below errors

Expected Behavior

As I read, released versions, no where it is written about changing a code snippet and was expecting backward compatibility

Actual Behavior

But it does not seem to backward compatibility and getting below errors

Screenshot 2024-06-08 at 9 52 55 PM

Environment

MurhafSousli commented 3 months ago

Angular 11 is 4-5 years old, if you cannot upgrade you'll need to stick with older versions https://github.com/MurhafSousli/ngx-sharebuttons/blob/master/CHANGELOG.MD

sameerdighe28 commented 3 months ago

okay I will try to upgrade Angular version but will this work or not in latest version on ngx-sharebutton ?

import { ShareButtonsModule } from "ngx-sharebuttons/buttons"; import { ShareIconsModule } from "ngx-sharebuttons/icons";

MurhafSousli commented 3 months ago

For the latest version, follow the new documentation https://github.com/MurhafSousli/ngx-sharebuttons/wiki/Share-Buttons-Component and https://github.com/MurhafSousli/ngx-sharebuttons/wiki/Icons-Guide