1.在命令行界面输入 npm install --save jquery npm install @types/jquery --save 2.在相应ts文件导入美元符号$: declare let $: any;