I am trying to get data from api and show it on frontend but *ngFor is not working I checked all variables are working correctly and the data is showing in console.log but not showing on frontend, below I have shared you screenshot for the same
Thank you in advance,
CodePudding user response:
you declear the projects property in any but this is array.so projects property declear projects:any=[]; like this
CodePudding user response:
I got the exact error for this the problem is not with *ngFor its that component.ts is not passing variable data to template does anyone have the solution for this