vue脚手架中vue-resource发送ajax请求

1.首先先下载    vue-resource  vue   npm install vue-resource    or    yarn add resource  前提是你的电脑装了 yarn  没有的话  npm -g install yarnnode 2.在脚手架的main.js中注册ios 注意下  axios是用原型对象注册的  vue-resource是 vue.use()注册 由于
相关文章
相关标签/搜索