whistle

全局安装 whistle , 文档地址

使用时用 git 命令行 w2 start,关闭使用w2 stop

rules 目录配置

ip 地址为项目运行后npm run dev后的 ip 结果

image

value 目录下配置

1
2
3
4
5
6
7
vsconsole

<script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.3.4/vconsole.min.js"></script>

run vsconsole

var vConsole = new VConsole();

image

配置证书

image

1
注意:证书必须安装在企业信任的目录下,不然配置不会成功
whistle script

安装 script 插件,下载地址

1
2
npm install -g whistle
npm install -g whistle.script

image

Proxy SwitchyOmega

谷歌浏览器安装插件,使用的时候选择【proxy】情景模式

image

服务器配置