vue+webpack模拟后台数据的示例代码 一、在webpack-dev-conf.js文件中:1、在constportfinder=require(‘portfinder')后添加如下内容constexpress= 模拟后台数据