export the port
See original GitHub issueWhat problem does this feature solve?
In most cases, the port is our user-defined port.
But sometimes users will start multiple services. At this time vue-cli will use portfinder
to start a new port, but the port is not exposed.
proxy: {
target: `http://localhost:${port}/mock`,
}
Since the port has changed, the request cannot be proxy correctly.
What does the proposed API look like?
process.env.VUE_CLI.port
Or any other way
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:25 (13 by maintainers)
Top Results From Across the Web
ACE Appendix D-Export Port Codes
ACE Appendix D-Export Port Codes ... This page provides the message formats and technical specifications necessary to electronically transmit data ...
Read more >How to Choose the Correct Port of Export - Census Bureau
Per the Foreign Trade Regulations (FTR) 30.1(c), the port of export is the U.S. Customs and Border Protection (CBP) seaport or airport where...
Read more >Port of Export | DHL
MyDHL Port of Export and Carrier Code Tool. Shipment Date. October. 10th. Tomorrow. October. 11th. Tuesday. October. 12th. Wednesday. October.
Read more >Exporting Ports
Export Ports Dialog Ports are used to connect Transforms to each other and to MxVDev. To connect a port to MxVDev so it...
Read more >U.S. Ports of Export :: International Freight Forwarding - ShipAll
Your shipment can leave the United States from one of over 300 ports. Each port sets it's own fees and export documentation rules,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
On my macbook:
but after run
vue-cli-service serve
, it change to 1024.set
port
invue.config.js
means I just want to set the port to what i want, but the result is not what i want.portfinder
is not very much needed in many scenarios, it is more reasonable to directly prompt it that the port is occupied.