详解vue-cli中模拟数据的两种方法【点击查看详情】
详解vue-cli中模拟数据的两种方法: 在main.js中引入vue-resource模块,Vue.use(vueResource). 1.使用json-server(不能用post请求) 接下来找到build目录下的webpack.dev.conf.js文件,在const portfinder = require('portfinder')后面引入json-s
相关视频/文章