1. 在package.json中的dependences中引入jquery的版本
2.第二步在webpack.base.conf.js文件中加入如下内容:
3.第三步:安装 npm install jquery --save
4.在需要用到的地方引入jquery
import $ from ‘jquery‘
vue项目中引入jquery
原文:https://www.cnblogs.com/mamifeng/p/13563400.html