1.1.0 • Published 4 years ago
mock-rest-super-server v1.1.0
mock rest super server
current version feature:
dist-server
It`s a server for directory of webpack build, you just need to set the absolute path; first, set path with scripts of package.json;
scripts:{
"dist-server": "dist-server --static_path=<your dist directory> --port=<default 8888>"
}
and
npm run dist-server
if you see the information:
本地地址:http://127.0.0.1:8888/
IPv4地址:http://172.16.71.1:8888
mean the server is start;