Vue.js学习(9)-Vue.js经过Http请求数据 vue-resource

  1.请求数据的模块vue-resource   https://github.com/pagekit/vue-resourcephp   vue-resource  是官方提供的vue的一个插件   axios   fetch-json 2.模块初始化vue npm install vue-resource --save 3.基本语法ios // 传统写法 this.$http.get('/s
相关文章
相关标签/搜索