1,官网地址:https://github.com/nuysoft/Mock/wiki/Getting-Started 2,进入项目文件打开cmd运行【npm install mockjs -save】