Niccolò Bertozzi
Niccolò Bertozzi

Reputation: 23

Angular error Uncaught ReferenceError: jQuery is not defined

enter image description here

I import some js files to my component but when i start app the browser gives me this error: Uncaught ReferenceError: jQuery is not defined. I load jquery before everything else so I don't understand how it can give error.

Upvotes: 0

Views: 713

Answers (1)

Shota Pertakhia
Shota Pertakhia

Reputation: 53

First of all, you need to install jquery using npm, and also don't forget to add it to the index.html file, I have shown it in the photo. enter image description here

Upvotes: 1

Related Questions