jaywcjlove / mocker-api

mocker-api that creates mocks for REST APIs. It will be helpful when you try to test your application without the actual REST API server.
https://jaywcjlove.github.io/mocker-api
MIT License
487 stars 68 forks source link

how to pass NO_PROXY #24

Closed IEfucker closed 5 years ago

IEfucker commented 5 years ago

vue-cli3

in vue.config.js

"scripts": {
"debug": vue-cli-service serve -- --NO_PROXY=true
}

does not work

jaywcjlove commented 5 years ago

Try this:

NO_PROXY=true vue-cli-service serve 
IEfucker commented 5 years ago

Unfortunately, windows doesnot have a 'NO_PROXY' command.

jaywcjlove commented 5 years ago

@IEfucker

set NO_PROXY=true
vue-cli-service serve 
IEfucker commented 5 years ago

thx but this works for me

set NO_PROXY=true&&vue-cli-service serve