As shown below:
'/goods': { target: 'http://localhost:3000' }, '/goods/*': { target: 'http://localhost:3000' },
/goods/* means that any route after /goods/ will be proxyed to the port. If /* is not added, other routes after it cannot be added, it cannot be proxyed to the port.
The above article's proxy setting method when developing vue with vue-cli is all the content I share with you. I hope you can give you a reference and I hope you can support me more.