vue.resource 、axios、ajax

一、vue 支持開發者引入 jquery 使用 $.ajax() 一、首先,在 package.json 中添加 jQuery,而後 npm installvue "dependencies": { "jquery": "^3.2.1", }, 二、在 webpack.config.js ( 這邊用的 vue-cli-simple 腳手架 )jquery // 增長一個plugins
相關文章
相關標籤/搜索