vue中引入jquery

這個沒法上圖了,直接按步驟來吧 1. 下載jquery     npm install jquery --save 2. 找到 webpack.base.config.js 3. 引入webpack 4. 引入jquery 5.在main.js中全局引入jquery(其實不全局引入也已經能用了) 效果
相關文章
相關標籤/搜索