0

There is two ways to use Jquery in angular 1)Via NPM npm i jquery 2)Via including it in assets folder and after including it in index.html file.

Margi212
  • 143
  • 1
  • 10
  • first of all avoid using jquery in angular, if you wish to use it, then installing jquery package via npm is a right way. Refer to my answer on how to use jquery in angular : https://stackoverflow.com/a/55887559/11048793 – varundhariyal Nov 20 '20 at 05:16
  • I wanted to know that is there any performance changes if I use it via index.html instead of NPM package? – Margi212 Nov 23 '20 at 05:15
  • 1
    no there aren't, try to import styles, scripts in angular json. – varundhariyal Nov 23 '20 at 07:25

0 Answers0