After the vue project is packaged, static and index.html are generated. Originally, the proxyTable was configured as port 3000 during development. How to proxy the api after reaching the server?
The front end and API are packaged together. How to configure the generation environment?
仅有的幸福2017-05-16 17:09:37
I always feel that your question is very strange. We all know that we use proxyTable as a proxy, that is, we know whether the front-end static page and the server-side API have the same origin after deployment. How can we still have such a problem? It feels like putting the cart before the horse. The answer Don’t you know everything, otherwise how to configure proxyTable