1、安装jQuery npm install --save jquery 2、安装声明文件 npm install --save @types/jquery 3、在需要的文件中引入 import $ from 'jquery'