angular项目中使用jquery的问题 1.使用npm命令往项目中添加jQuery。 npm install jquery --save 2.在你想要用jQuery的组件中添加。 import * as $ from "jquery"; 3.就可以正常使用了。