It may be necessary to change the proxy and connect to the server during development or operation. At that time, there is a method of setting the proxy with a PAC (Proxy Auto Configuration) file. This tool makes that setting easier and allows you to switch between multiple configurations.
install yarn first, macos can useage: brew install yarn
sudo npm install cnpm -g --registry=http://registry.npm.taobao.org
yarn install
yarn serve
yarn build
yarn lint