先引入jquery
npm install --save jquery
在bulid的webpack.base.conf中的module.exports中写入
然后在需要用到的组件中写入
接下来就可以直接使用$了