79494824

Date: 2025-03-08 18:22:35
Score: 2
Natty:
Report link

Try below in your src/polyfills.ts or you might need to use your angular.json file to add this. I am not sure though because this is a straight forward thing. Anyway read this as well. https://frontendinterviewquestions.medium.com/can-we-use-jquery-in-angular-d64e7d4befae https://www.geeksforgeeks.org/how-to-use-jquery-in-angular/


import * as $ from 'jquery';
(window as any).$ = $;
(window as any).jQuery = $;


Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shashika Silva