npm install jquery --save
在需要的页面:
import $ from 'jquery'
constructor(props){ // $(function(){ // alert(123); // })
}
这种方式可以实现,具体怎么用不是很清楚