Vue2.5通过json文件读取数据的方法 1.准备工作1.1webpack.dev.conf.js在constportfinder=require(‘portfinder')的下面加上以下代码constexpress=re json读取数据