@anoninz
2018-07-30T09:59:10.000000Z
字数 568
阅读 2068
whistle vue webpack 开发
安装并运行:whistle
$ npm install -g whistle$ w2 run
w2 run
http://dev.test.com 时,实际访问的是 127.0.0.1:8080(可更改为本地的开发服务器)proxy SwitchyOmega 插件

$ npm run dev (默认是 127.0.0.1:8080) whistle 的指向 
http://dev.test.com 即可使用这个域名下面的 cookie,访问特定的接口。进行调试也可以访问需要 cookie 的接口